Add rnix-lsp for Nix diagnostics and completion

This commit is contained in:
jD91mZM2
2021-01-22 17:29:51 +01:00
parent 9a1e91e075
commit c1b6628425
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('.')