Rethink smartparens config #181
+ Parts of my smartparens config that were personal preference have been moved to my private module. + The css-mode config was redundant and was removed + Moved lang-specific config to their respective modules + Markdown config was redundant with native electric support, and thus removed.
This commit is contained in:
parent
4ff294e9e1
commit
bb5907cadb
4 changed files with 21 additions and 26 deletions
|
@ -35,6 +35,9 @@
|
|||
(,(regexp-opt +sh-builtin-keywords 'words)
|
||||
(0 'font-lock-builtin-face append))))
|
||||
|
||||
;; autoclose backticks
|
||||
(sp-local-pair 'sh-mode "`" nil :unless '(sp-point-before-word-p sp-point-before-same-p))
|
||||
|
||||
;; sh-mode has file extensions checks for other shells, but not zsh, so...
|
||||
(defun +sh|detect-zsh ()
|
||||
(when (or (and buffer-file-name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue