summaryrefslogtreecommitdiff
path: root/dot_config/nvim_new/lsp/statix.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/nvim_new/lsp/statix.lua')
-rw-r--r--dot_config/nvim_new/lsp/statix.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/dot_config/nvim_new/lsp/statix.lua b/dot_config/nvim_new/lsp/statix.lua
new file mode 100644
index 0000000..2d15249
--- /dev/null
+++ b/dot_config/nvim_new/lsp/statix.lua
@@ -0,0 +1,10 @@
+---@brief
+---
+--- https://github.com/nerdypepper/statix
+---
+--- lints and suggestions for the nix programming language
+return {
+ cmd = { 'statix', 'check', '--stdin' },
+ filetypes = { 'nix' },
+ root_markers = { 'flake.nix', '.git' },
+}