Enable lua-mode, ensure lua for eglot, enable org-babel lua execution

This commit is contained in:
Evie Litherland-Smith 2024-03-18 21:10:07 +00:00
parent 66fc455929
commit 3e30503856
2 changed files with 8 additions and 0 deletions

View file

@ -64,6 +64,7 @@ Set treesit to fontify all elements, default was 3 (out of 4)
("C-c c a" . eglot-code-actions) ("C-c c a" . eglot-code-actions)
("C-c c r" . eglot-rename)) ("C-c c r" . eglot-rename))
:hook (((nix-mode :hook (((nix-mode
lua-mode
python-base-mode python-base-mode
rust-ts-mode rust-ts-mode
fortran-mode fortran-mode
@ -246,6 +247,12 @@ Set treesit to fontify all elements, default was 3 (out of 4)
:mode "\\.nu\\'") :mode "\\.nu\\'")
#+end_src #+end_src
** Lua
#+begin_src emacs-lisp
(use-package lua-mode
:ensure t)
#+end_src
** Python ** Python
Set fill column to 88 and enable display in python buffers Set fill column to 88 and enable display in python buffers
#+begin_src emacs-lisp :tangle yes #+begin_src emacs-lisp :tangle yes

View file

@ -37,6 +37,7 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
:ensure t :ensure t
:custom :custom
(org-babel-load-languages '((emacs-lisp . t) (org-babel-load-languages '((emacs-lisp . t)
(lua . t)
(python . t))) (python . t)))
:config :config
(set-face-attribute 'org-table nil :inherit 'fixed-pitch) (set-face-attribute 'org-table nil :inherit 'fixed-pitch)