e149692cc9
subrepo: subdir: "dotfiles/.vim/plugged/ale" merged: "e4b205440" upstream: origin: "https://github.com/dense-analysis/ale.git" branch: "master" commit: "e4b205440" git-subrepo: version: "0.4.3" origin: "???" commit: "???"
22 lines
691 B
Text
22 lines
691 B
Text
Before:
|
|
call ale#assert#SetUpLinterTest('ink', 'ls')
|
|
set ft=ink
|
|
|
|
After:
|
|
call ale#assert#TearDownLinterTest()
|
|
|
|
Execute(should set correct defaults):
|
|
AssertLinter 'ink-language-server', ale#Escape('ink-language-server') . ' --stdio'
|
|
|
|
Execute(should set correct LSP values):
|
|
call ale#test#SetFilename('../test-files/ink/story/main.ink')
|
|
|
|
AssertLSPLanguage 'ink'
|
|
AssertLSPOptions {}
|
|
AssertLSPConfig {}
|
|
AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/ink/story')
|
|
|
|
Execute(should accept configuration settings):
|
|
AssertLSPConfig {}
|
|
let b:ale_ink_ls_initialization_options = {'ink': {'runThroughMono': v:true}}
|
|
AssertLSPOptions {'ink': {'runThroughMono': v:true}}
|