summaryrefslogtreecommitdiff
path: root/nvim/lsp/statix.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lsp/statix.lua')
-rwxr-xr-xnvim/lsp/statix.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/nvim/lsp/statix.lua b/nvim/lsp/statix.lua
new file mode 100755
index 0000000..2d15249
--- /dev/null
+++ b/nvim/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' },
+}