emacs: Add python-mode and jinja2-mode
This commit is contained in:
parent
fe9ac11da0
commit
b2dfc4cc43
1 changed files with 18 additions and 1 deletions
|
@ -1126,7 +1126,8 @@ Prefer local packages from =node_modules= to global ones
|
||||||
web-mode-enable-current-element-highlight t
|
web-mode-enable-current-element-highlight t
|
||||||
web-mode-enable-current-column-highlight t)
|
web-mode-enable-current-column-highlight t)
|
||||||
|
|
||||||
(add-to-list 'web-mode-engines-alist '(("elixir" . "\\.html.heex\\'")))
|
(add-to-list 'web-mode-engines-alist '(("elixir" . "\\.html.heex\\'")
|
||||||
|
("jinja2" . "\\.jinja2\\'")))
|
||||||
:hook
|
:hook
|
||||||
((html-mode css-mode web-mode) . eglot-ensure))
|
((html-mode css-mode web-mode) . eglot-ensure))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
@ -1527,6 +1528,22 @@ It's better than nothing.
|
||||||
(use-package just-mode)
|
(use-package just-mode)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
*** Python
|
||||||
|
|
||||||
|
Python
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package python-mode
|
||||||
|
:hook
|
||||||
|
((python-mode python-ts-mode) . eglot-ensure))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
jinja2
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package jinja2-mode)
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* Org
|
* Org
|
||||||
|
|
||||||
** Main org setup
|
** Main org setup
|
||||||
|
|
Loading…
Reference in a new issue