mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-16 01:07:06 +08:00
Close #1521 - Allow the language to be set with simple strings for LSP linters
This commit is contained in:
@@ -35,9 +35,6 @@ Execute(The toolchain should be ommitted if not given):
|
||||
\ ale#Escape('rls'),
|
||||
\ ale_linters#rust#rls#GetCommand(bufnr(''))
|
||||
|
||||
Execute(The language string should be correct):
|
||||
AssertEqual 'rust', ale_linters#rust#rls#GetLanguage(bufnr(''))
|
||||
|
||||
Execute(The project root should be detected correctly):
|
||||
AssertEqual '', ale_linters#rust#rls#GetProjectRoot(bufnr(''))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user