summaryrefslogtreecommitdiff
path: root/ale_linters/nix/nix.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/nix/nix.vim')
-rw-r--r--ale_linters/nix/nix.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/nix/nix.vim b/ale_linters/nix/nix.vim
index 7c2ce963..64c95ab9 100644
--- a/ale_linters/nix/nix.vim
+++ b/ale_linters/nix/nix.vim
@@ -5,7 +5,7 @@
function! ale_linters#nix#nix#Command(buffer, output, meta) abort
let l:version = a:output[0][22:]
- if l:version =~# '^\(2.[4-9]\|3\).*'
+ if l:version =~# '^\(2.[4-9]\|2.[1-9][0-9]\+\|3\).*'
return 'nix-instantiate --log-format internal-json --parse -'
else
return 'nix-instantiate --parse -'