mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-26 14:01:10 +08:00
Add rnix-lsp for Nix diagnostics and completion
This commit is contained in:
0
test/nix/test.nix
Normal file
0
test/nix/test.nix
Normal file
14
test/nix/test_rnix_lsp.vader
Normal file
14
test/nix/test_rnix_lsp.vader
Normal 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('.')
|
||||
Reference in New Issue
Block a user