diff options
| author | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-09-13 21:43:59 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-09-13 21:43:59 +0530 |
| commit | 9c2bec03e1ac5226bbd175506286dff0516702be (patch) | |
| tree | b41520b713854ac19c09edeca5ee6beccdae9659 | |
| parent | b3123b2c13a039cda45e0a2b45e0e404dac8d96e (diff) | |
| download | home-manager-config-9c2bec03e1ac5226bbd175506286dff0516702be.tar.gz home-manager-config-9c2bec03e1ac5226bbd175506286dff0516702be.zip | |
feat(development/nixvim): enabled exrc, added .nvim.lua
Now each project can set their own .nvim.lua config to start the
specific language servers, with its own custom configuration options, no
need for global lsp configs.
| -rw-r--r-- | .nvim.lua | 5 | ||||
| -rw-r--r-- | modules/development/nixvim/default.nix | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/.nvim.lua b/.nvim.lua new file mode 100644 index 0000000..c95d560 --- /dev/null +++ b/.nvim.lua @@ -0,0 +1,5 @@ +vim.lsp.enable({ + 'lua_ls', + 'nixd', + 'bash_ls' +}) diff --git a/modules/development/nixvim/default.nix b/modules/development/nixvim/default.nix index eab3d85..8506b7d 100644 --- a/modules/development/nixvim/default.nix +++ b/modules/development/nixvim/default.nix @@ -39,6 +39,7 @@ updatetime = 500; fillchars = "eob: "; listchars = "tab: ,trail:_,lead: "; + exrc = true; }; globals.mapleader = " "; clipboard.providers.xclip.enable = true; |
