Support gleamlsp language server for gleam (#4696)

This commit is contained in:
Jonathan Palardy
2024-01-14 03:43:59 -08:00
committed by GitHub
parent 32e6fc5975
commit ebc6718c0a
7 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
Before:
call ale#assert#SetUpLinterTest('gleam', 'gleamlsp')
After:
call ale#assert#TearDownLinterTest()
Execute(The default executable path should be correct):
AssertLinter 'gleam', ale#Escape('gleam') . ' lsp'
Execute(The project root should be detected correctly):
AssertLSPProject ''
call ale#test#SetFilename('../test-files/gleam/gleam.toml')
AssertLSPProject ale#path#Simplify(g:dir . '/../test-files/gleam')

View File