Merge pull request #3556 from jD91mZM2/rnix

Add rnix-lsp for Nix diagnostics and completion
This commit is contained in:
Horacio Sanson
2021-01-23 21:50:36 +09:00
committed by GitHub
5 changed files with 32 additions and 0 deletions

0
test/nix/test.nix Normal file
View File

View File

@@ -0,0 +1,14 @@
" Author: jD91mZM2 <me@krake.one>
" Description: Tests for rnix-lsp language client
Before:
call ale#assert#SetUpLinterTest('nix', 'rnix_lsp')
After:
call ale#assert#TearDownLinterTest()
Execute(should start rnix-lsp):
call ale#test#SetFilename('./test.nix')
AssertLSPLanguage 'nix'
AssertLSPOptions {}
AssertLSPProject ale#path#Simplify('.')