Add nushell-ts-mode

This commit is contained in:
Evie Litherland-Smith 2024-02-04 09:48:00 +00:00
parent 1acc4affe4
commit 855fe2e477

View file

@ -1075,12 +1075,17 @@ Set treesit to fontify all elements, default was 3 (out of 4)
#+begin_src emacs-lisp
(use-package nix-mode
:mode "\\.nix\\'"
:diminish
:config
(require 'nix)
(require 'nix-flake))
#+end_src
*** Nushell
#+begin_src emacs-lisp
(use-package nushell-ts-mode
:mode "\\.nu\\'")
#+end_src
*** Python
Set fill column to 88 and enable display in python buffers
#+begin_src emacs-lisp :tangle yes
@ -1090,16 +1095,16 @@ Set fill column to 88 and enable display in python buffers
(display-fill-column-indicator-mode +1))
(use-package python
:defer t
:custom
(python-check-command "mypy")
:config
(add-hook 'python-base-mode-hook (lambda () (my/enable-fill-column 88))))
#+end_src
*** Rust
#+begin_src emacs-lisp
(use-package cargo
:ensure t
:diminish
:hook (rust-ts-mode . cargo-minor-mode))
#+end_src