diff options
Diffstat (limited to '.config/nvim/lsp/statix.lua')
| -rw-r--r-- | .config/nvim/lsp/statix.lua | 12 | 
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/nvim/lsp/statix.lua b/.config/nvim/lsp/statix.lua new file mode 100644 index 0000000..5c1ef32 --- /dev/null +++ b/.config/nvim/lsp/statix.lua @@ -0,0 +1,12 @@ +---@brief +--- +--- https://github.com/nerdypepper/statix +--- +--- lints and suggestions for the nix programming language + +---@type vim.lsp.Config +return { +  cmd = { 'statix', 'check', '--stdin' }, +  filetypes = { 'nix' }, +  root_markers = { 'flake.nix', '.git' }, +}  |