mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-20 11:11:13 +08:00
Close #1521 - Allow the language to be set with simple strings for LSP linters
This commit is contained in:
@@ -42,9 +42,6 @@ Execute(Vendor executables should be detected):
|
||||
\ )),
|
||||
\ ale_linters#php#langserver#GetCommand(bufnr(''))
|
||||
|
||||
Execute(The language string should be correct):
|
||||
AssertEqual 'php', ale_linters#php#langserver#GetLanguage(bufnr(''))
|
||||
|
||||
Execute(The project path should be correct for .git directories):
|
||||
call ale#test#SetFilename('php-langserver-project/test.php')
|
||||
call mkdir(g:dir . '/.git')
|
||||
|
||||
Reference in New Issue
Block a user