tombi: support toml_tombi_online flag to control remote schema fetching (#5032)

This commit is contained in:
Ben Boeckel authored and GitHub committed 2025-11-22 21:02:24 +09:00
1 parent de2d3da738
commit 86d8ada5cb
7 files changed
+71 -10

No files matched your search

+6
View File
@@ -1,10 +1,16 @@
Before:
Save g:ale_toml_tombi_online
call ale#assert#SetUpLinterTest('toml', 'tombi')
After:
call ale#assert#TearDownLinterTest()
Execute(The default executable path should be correct):
AssertLinter 'tombi', ale#Escape('tombi') . ' lsp --offline'
Execute(The default executable path should obey `toml_tombi_online`):
let g:ale_toml_tombi_online = 1
AssertLinter 'tombi', ale#Escape('tombi') . ' lsp'
Execute(The project root should be detected correctly with a configuration file):