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:
Henrik Lissner 2017-09-02 16:11:14 +02:00
parent 4ff294e9e1
commit bb5907cadb
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 21 additions and 26 deletions

View file

@ -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