summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
authorAlan Pearce2023-05-25 09:25:36 +0200
committerAlan Pearce2023-05-25 09:25:36 +0200
commit23f3032ad6ce214a41b7aee162ceadd6230f7f72 (patch)
treef65b609504cb826a3d744aed75ae440d203f4b52 /user/settings
parentd62310980d685cd8183f4a3276ac19dd824932c5 (diff)
downloadnixfiles-23f3032ad6ce214a41b7aee162ceadd6230f7f72.tar.lz
nixfiles-23f3032ad6ce214a41b7aee162ceadd6230f7f72.tar.zst
nixfiles-23f3032ad6ce214a41b7aee162ceadd6230f7f72.zip
neovim: enable nix tree-sitter plugin
Diffstat (limited to 'user/settings')
-rw-r--r--user/settings/neovim.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/user/settings/neovim.nix b/user/settings/neovim.nix
index e33d0f8f..49c1997e 100644
--- a/user/settings/neovim.nix
+++ b/user/settings/neovim.nix
@@ -16,7 +16,11 @@
       coc-json
       coc-yaml
       direnv-vim
-      nvim-treesitter
+      (nvim-treesitter.withPlugins (
+        plugins: with plugins; [
+          nix
+        ]
+      ))
       telescope-nvim
       telescope-fzf-native-nvim
       vim-polyglot