feat: add nixd

This commit is contained in:
Swarsel 2024-12-07 01:14:59 +01:00
parent e325be79ae
commit 4ee0a6380b
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
4 changed files with 16 additions and 3 deletions

View file

@ -3766,6 +3766,8 @@ Mostly used to install some compilers and lsp's that I want to have available wh
# go
go
gopls
# nix
nixd
# zig
zig
zls
@ -7833,6 +7835,8 @@ Lastly, I am defining some more packages here that the parser has problems findi
epkgs.use-package
# epkgs.lsp-bridge
epkgs.doom-themes
epkgs.vterm
epkgs.treesit-grammars.with-all-grammars
# build the rest of the packages myself
# org-calfw is severely outdated on MELPA and throws many warnings on emacs startup
@ -11357,9 +11361,10 @@ This adds a rudimentary nix-mode to Emacs. I have not really tried this out, as
#+begin_src emacs-lisp
(use-package nix-mode
:mode "\\.nix\\'")
(use-package nix-mode)
(use-package nix-ts-mode
:mode "\\.nix\\'")
#+end_src
*** HCL Mode
@ -11615,6 +11620,7 @@ In order to update the language grammars, run the next command below.
(latex . ("https://github.com/latex-lsp/tree-sitter-latex"))
(make . ("https://github.com/alemuller/tree-sitter-make"))
(markdown . ("https://github.com/ikatyang/tree-sitter-markdown"))
(nix . ("https://github.com/nix-community/tree-sitter-nix"))
(R . ("https://github.com/r-lib/tree-sitter-r"))
(python . ("https://github.com/tree-sitter/tree-sitter-python"))
(typescript . ("https://github.com/tree-sitter/tree-sitter-typescript" "typescript/src" "typescript"))

View file

@ -14,6 +14,8 @@
epkgs.use-package
# epkgs.lsp-bridge
epkgs.doom-themes
epkgs.vterm
epkgs.treesit-grammars.with-all-grammars
# build the rest of the packages myself
# org-calfw is severely outdated on MELPA and throws many warnings on emacs startup

View file

@ -57,6 +57,8 @@
# go
go
gopls
# nix
nixd
# zig
zig
zls

View file

@ -1165,7 +1165,9 @@ create a new one."
(add-hook 'org-present-mode-quit-hook 'swarsel/org-present-end)
(add-hook 'org-present-after-navigate-functions 'swarsel/org-present-slide)
(use-package nix-mode
(use-package nix-mode)
(use-package nix-ts-mode
:mode "\\.nix\\'")
(use-package hcl-mode
@ -1299,6 +1301,7 @@ create a new one."
(latex . ("https://github.com/latex-lsp/tree-sitter-latex"))
(make . ("https://github.com/alemuller/tree-sitter-make"))
(markdown . ("https://github.com/ikatyang/tree-sitter-markdown"))
(nix . ("https://github.com/nix-community/tree-sitter-nix"))
(R . ("https://github.com/r-lib/tree-sitter-r"))
(python . ("https://github.com/tree-sitter/tree-sitter-python"))
(typescript . ("https://github.com/tree-sitter/tree-sitter-typescript" "typescript/src" "typescript"))