diff options
| author | Simeon Simeonov | 2023-10-13 20:52:40 +0200 |
|---|---|---|
| committer | Simeon Simeonov | 2023-10-13 20:52:40 +0200 |
| commit | 363c7b265e5fe5358a079e3058a661d23f978fd8 (patch) | |
| tree | 7de1688b502303cbbb30d7438b516f78f81891ea /.emacs | |
| parent | 83718bb1038c175d84204ed57d5aebe380811c61 (diff) | |
Update yaml-mode.el and fix max chars marking in .emacs
Diffstat (limited to '.emacs')
| -rw-r--r-- | .emacs | 12 |
1 files changed, 5 insertions, 7 deletions
| @@ -41,7 +41,7 @@ | |||
| 41 | '(font-lock-variable-name-face ((nil (:foreground "sienna")))) | 41 | '(font-lock-variable-name-face ((nil (:foreground "sienna")))) |
| 42 | '(font-lock-warning-face ((nil (:foreground "Red1")))) | 42 | '(font-lock-warning-face ((nil (:foreground "Red1")))) |
| 43 | '(warning ((nil (:foreground "DarkOrange")))) | 43 | '(warning ((nil (:foreground "DarkOrange")))) |
| 44 | ) | 44 | ) |
| 45 | 45 | ||
| 46 | ;;(setq require-final-newline t) | 46 | ;;(setq require-final-newline t) |
| 47 | (setq require-final-newline nil) | 47 | (setq require-final-newline nil) |
| @@ -95,12 +95,10 @@ | |||
| 95 | 95 | ||
| 96 | ;; Python | 96 | ;; Python |
| 97 | (require 'whitespace) | 97 | (require 'whitespace) |
| 98 | (add-hook 'python-mode-hook | 98 | (setq whitespace-line-column 79) ;; limit line length |
| 99 | (lambda () | 99 | (setq whitespace-style '(face lines-tail)) |
| 100 | (progn | 100 | (add-hook 'prog-mode-hook 'whitespace-mode) |
| 101 | (setq whitespace-line-column 79) | 101 | ;;(add-hook 'python-mode-hook 'whitespace-mode) ;; doesn't work in 29 |
| 102 | (setq whitespace-style '(face empty tabs lines-tail trailing)) | ||
| 103 | (whitespace-mode)))) | ||
| 104 | 102 | ||
| 105 | ;; Custom plugins | 103 | ;; Custom plugins |
| 106 | (add-to-list 'load-path "~/.emacs.d/lisp/") | 104 | (add-to-list 'load-path "~/.emacs.d/lisp/") |
