General cleanup + refactor
This commit is contained in:
parent
5e2c483923
commit
0e7254d312
12 changed files with 30 additions and 24 deletions
|
@ -15,13 +15,17 @@
|
|||
(def-package! yaml-mode :mode "\\.ya?ml$")
|
||||
|
||||
|
||||
(def-package! json-mode :mode "\\.js\\(on\\|[hl]int\\(rc\\)?\\)$"
|
||||
(def-package! json-mode
|
||||
:mode "\\.js\\(on\\|[hl]int\\(rc\\)?\\)$"
|
||||
:config
|
||||
(set! :electric 'json-mode :chars '(?\n ?: ?{ ?})))
|
||||
|
||||
|
||||
(def-package! vimrc-mode
|
||||
:mode ("/\\.?g?vimrc$" "\\.vim$" "/\\.?vimperatorrc$" "\\.vimp$"))
|
||||
:mode "/\\.?g?vimrc$"
|
||||
:mode "\\.vim$"
|
||||
:mode "\\.?vimperatorrc$"
|
||||
:mode "\\.vimp$")
|
||||
|
||||
|
||||
(def-package! dockerfile-mode
|
||||
|
@ -35,7 +39,8 @@
|
|||
|
||||
;; For ROM hacking or debugging
|
||||
(def-package! hexl-mode
|
||||
:mode ("\\.hex$" "\\.nes$"))
|
||||
:mode "\\.hex$"
|
||||
:mode "\\.nes$")
|
||||
|
||||
|
||||
;;
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
("Modes" "^\\s-*(define-\\(?:global\\(?:ized\\)?-minor\\|generic\\|minor\\)-mode +\\([^ ()\n]+\\)" 1)
|
||||
("Macros" "^\\s-*(\\(?:cl-\\)?def\\(?:ine-compile-macro\\|macro\\) +\\([^ )\n]+\\)" 1)
|
||||
("Inline Functions" "\\s-*(\\(?:cl-\\)?defsubst +\\([^ )\n]+\\)" 1)
|
||||
("Functions" "^\\s-*(\\(?:cl-\\)?def\\(?:un\\|un\\*\\|method\\|generic\\) +\\([^ )\n]+\\)" 1)
|
||||
("Functions" "^\\s-*(\\(?:cl-\\)?def\\(?:un\\|un\\*\\|method\\|generic\\|-memoized!\\) +\\([^ )\n]+\\)" 1)
|
||||
("Variables" "^\\s-*(\\(def\\(?:c\\(?:onst\\(?:ant\\)?\\|ustom\\)\\|ine-symbol-macro\\|parameter\\)\\)\\s-+\\(\\(?:\\sw\\|\\s_\\|\\\\.\\)+\\)" 2)
|
||||
("Variables" "^\\s-*(defvar\\(?:-local\\)?\\s-+\\(\\(?:\\sw\\|\\s_\\|\\\\.\\)+\\)[[:space:]\n]+[^)]" 1)
|
||||
("Types" "^\\s-*(\\(cl-def\\(?:struct\\|type\\)\\|def\\(?:class\\|face\\|group\\|ine-\\(?:condition\\|error\\|widget\\)\\|package\\|struct\\|t\\(?:\\(?:hem\\|yp\\)e\\)\\)\\)\\s-+'?\\(\\(?:\\sw\\|\\s_\\|\\\\.\\)+\\)" 2)
|
||||
|
@ -76,10 +76,8 @@ version is loaded."
|
|||
|
||||
(def-package! slime
|
||||
:config
|
||||
(setq inferior-lisp-program "clisp"
|
||||
;; enable fuzzy matching in code buffer and SLIME REPL
|
||||
slime-complete-symbol*-fancy t
|
||||
slime-complete-symbol-function 'slime-fuzzy-complete-symbol))
|
||||
(setq inferior-lisp-program "clisp")
|
||||
(require 'slime-fuzzy))
|
||||
|
||||
|
||||
;;
|
||||
|
|
|
@ -170,7 +170,8 @@
|
|||
;; Fontify checkboxes and dividers
|
||||
(defface org-list-bullet
|
||||
'((t (:inherit font-lock-keyword-face)))
|
||||
"Face for list bullets")
|
||||
"Face for list bullets"
|
||||
:group 'doom)
|
||||
(font-lock-add-keywords
|
||||
'org-mode '(("^ *\\([-+]\\|[0-9]+[).]\\) " (1 'org-list-bullet))
|
||||
("^ *\\(-----+\\)$" (1 'org-meta-line))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue