fix(statix): use correct cmd (#3487)

This commit is contained in:
uncenter 2024-12-02 00:34:22 -05:00 committed by GitHub
parent eb20f0a9cc
commit ec346d7e73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,7 +2,7 @@ local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'statix' },
cmd = { 'statix', 'check', '--stdin' },
filetypes = { 'nix' },
single_file_support = true,
root_dir = util.root_pattern('flake.nix', '.git'),