fix flex and bison

This commit is contained in:
Jacob Janzen 2024-08-15 19:31:35 -05:00
parent 6945d8df03
commit 0643da5a45

View file

@ -21,6 +21,12 @@ Run =eglot= on CMake files.
(add-hook 'cmake-mode-hook 'jj/eglot-setup))
#+end_src
Turn off C mode in =lex= and =yacc= files.
#+begin_src emacs-lisp :tangle ~/.config/emacs/languages.el :mkdirp yes
(add-to-list 'auto-mode-alist '("\\.l$" . prog-mode))
(add-to-list 'auto-mode-alist '("\\.y$" . prog-mode))
#+end_src
* Web
Run =eglot= on HTML files.
#+begin_src emacs-lisp :tangle ~/.config/emacs/languages.el :mkdirp yes