summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimeon Simeonov2023-10-13 20:52:40 +0200
committerSimeon Simeonov2023-10-13 20:52:40 +0200
commit363c7b265e5fe5358a079e3058a661d23f978fd8 (patch)
tree7de1688b502303cbbb30d7438b516f78f81891ea
parent83718bb1038c175d84204ed57d5aebe380811c61 (diff)
Update yaml-mode.el and fix max chars marking in .emacs
-rw-r--r--.emacs12
-rw-r--r--.emacs.d/lisp/yaml-mode.el2
2 files changed, 6 insertions, 8 deletions
diff --git a/.emacs b/.emacs
index 8eb7c2e..8c3db0b 100644
--- a/.emacs
+++ b/.emacs
@@ -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/")
diff --git a/.emacs.d/lisp/yaml-mode.el b/.emacs.d/lisp/yaml-mode.el
index d3c1da8..c18fcd9 100644
--- a/.emacs.d/lisp/yaml-mode.el
+++ b/.emacs.d/lisp/yaml-mode.el
@@ -8,7 +8,7 @@
8;; URL: https://github.com/yoshiki/yaml-mode 8;; URL: https://github.com/yoshiki/yaml-mode
9;; Package-Requires: ((emacs "24.1")) 9;; Package-Requires: ((emacs "24.1"))
10;; Keywords: data yaml 10;; Keywords: data yaml
11;; Version: 0.0.15 11;; Version: 0.0.16
12 12
13;; This file is not part of Emacs 13;; This file is not part of Emacs
14 14