lang/web: disable company-css in Emacs 26+
css-mode's built-in completion is superior in Emacs 26+. The company-capf backend will take advantage of it.
This commit is contained in:
parent
49d431ee4e
commit
803511c771
1 changed files with 3 additions and 1 deletions
|
@ -38,7 +38,9 @@
|
||||||
(after! css-mode ; contains both css-mode & scss-mode
|
(after! css-mode ; contains both css-mode & scss-mode
|
||||||
(set! :docset 'css-mode "CSS")
|
(set! :docset 'css-mode "CSS")
|
||||||
(set! :docset 'scss-mode "Sass")
|
(set! :docset 'scss-mode "Sass")
|
||||||
(set! :company-backend '(css-mode scss-mode) 'company-css)
|
(unless EMACS26+
|
||||||
|
;; css-mode's built in completion is superior
|
||||||
|
(set! :company-backend '(css-mode scss-mode) 'company-css))
|
||||||
(map! :map scss-mode-map :localleader :n "b" #'+css/scss-build))
|
(map! :map scss-mode-map :localleader :n "b" #'+css/scss-build))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue