chore(lang): Update web-mode setup for Emacs 27

With Emacs 27 we are using the new built-in
display-fill-column-indicator mode. It does not have issues with
web-mode like fci-mode from the fill-column-indicator package does.
This commit is contained in:
2020-01-28 21:54:24 +00:00
parent d50ffee618
commit ee916bb347

View File

@@ -35,7 +35,9 @@
"Default tweaks for `web-mode'."
(setq tab-width 2)
(siren-display-fill-column -1)
(when (version< emacs-version "27.0")
(siren-display-fill-column -1))
(company-mode +1)
(siren-folding)
(subword-mode +1)))