summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2023-01-23 08:30:53 -0500
committermattkae <mattkae@protonmail.com>2023-01-23 08:30:53 -0500
commit71b04518343e93ffea363dbe8996699f580dcfb4 (patch)
tree1568254281cf4e456f3047bc4fe34ab84c9023e9
parent1e339742e1eb765272fe86700d1fee4ce7f78dac (diff)
Adding html documents to web mode
-rw-r--r--lisp/cpp.el3
-rw-r--r--lisp/web.el1
2 files changed, 1 insertions, 3 deletions
diff --git a/lisp/cpp.el b/lisp/cpp.el
index 79d31fa..cd644a2 100644
--- a/lisp/cpp.el
+++ b/lisp/cpp.el
@@ -12,10 +12,7 @@
;; (electric-indent-mode 0)
)
-; TODO: I am not the bigest fan of cmake-ide any more. Let's see how easy that is.
-;(require 'cmake-ide)
(require 'eglot)
- ;(cmake-ide-setup)
(add-hook 'c-mode-common-hook 'setup-c)
(add-hook 'c-mode-common-hook 'eglot-ensure)
diff --git a/lisp/web.el b/lisp/web.el
index 3372792..bb5d4f8 100644
--- a/lisp/web.el
+++ b/lisp/web.el
@@ -19,6 +19,7 @@
)
(my-web-mode-colors)
)
+(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
(setq-default js-indent-level 2)
(require 'flycheck)