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 #+begin_src emacs-lisp
(use-package nix-mode (use-package nix-mode
:mode "\\.nix\\'" :mode "\\.nix\\'"
:diminish
:config :config
(require 'nix) (require 'nix)
(require 'nix-flake)) (require 'nix-flake))
#+end_src #+end_src
*** Nushell
#+begin_src emacs-lisp
(use-package nushell-ts-mode
:mode "\\.nu\\'")
#+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
@ -1090,16 +1095,16 @@ Set fill column to 88 and enable display in python buffers
(display-fill-column-indicator-mode +1)) (display-fill-column-indicator-mode +1))
(use-package python (use-package python
:defer t
:custom :custom
(python-check-command "mypy") (python-check-command "mypy")
:config :config
(add-hook 'python-base-mode-hook (lambda () (my/enable-fill-column 88)))) (add-hook 'python-base-mode-hook (lambda () (my/enable-fill-column 88))))
#+end_src #+end_src
*** Rust *** Rust
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package cargo (use-package cargo
:ensure t
:diminish
:hook (rust-ts-mode . cargo-minor-mode)) :hook (rust-ts-mode . cargo-minor-mode))
#+end_src #+end_src