diff options
| author | Simeon Simeonov | 2025-05-11 22:43:09 +0200 |
|---|---|---|
| committer | Simeon Simeonov | 2025-05-11 22:43:09 +0200 |
| commit | e5b13f21317f6209b515caa8b9c9f22a98000333 (patch) | |
| tree | cc200f574f9a068136b188559a6a93625515691f /.emacs.pure | |
| parent | a429db57b6fc60d6bd026bd530cdb80554101622 (diff) | |
Upgrade markdown-mode and yasnippet
Diffstat (limited to '.emacs.pure')
| -rw-r--r-- | .emacs.pure | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/.emacs.pure b/.emacs.pure index 932b320..1f703c7 100644 --- a/.emacs.pure +++ b/.emacs.pure | |||
| @@ -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) |
| @@ -76,7 +76,7 @@ | |||
| 76 | ;; Programming section | 76 | ;; Programming section |
| 77 | 77 | ||
| 78 | ;; Indentation | 78 | ;; Indentation |
| 79 | (setq-default c-basic-offset 4 tab-width 4 js-indent-level 4 indent-tabs-mode nil sgml-basic-offset 4) | 79 | (setq-default c-basic-offset 4 tab-width 4 indent-tabs-mode nil js-indent-level 4 sgml-basic-offset 4) |
| 80 | ;;(setq-default c-basic-offset 4 tab-width 4 indent-tabs-mode nil) | 80 | ;;(setq-default c-basic-offset 4 tab-width 4 indent-tabs-mode nil) |
| 81 | ;;(setq-default c-basic-offset 4 tab-width 4) | 81 | ;;(setq-default c-basic-offset 4 tab-width 4) |
| 82 | 82 | ||
| @@ -95,10 +95,8 @@ | |||
| 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 | ||
