mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Detect the Lua project root using .luarc.json
This commit is contained in:
@@ -14,3 +14,8 @@ Execute(lua-language-server should be configurable):
|
||||
|
||||
AssertLinter 'billy', ale#Escape('billy')
|
||||
AssertLSPConfig {'x': 'y'}
|
||||
|
||||
Execute(lua-language-server should detect the project root using .luarc.json):
|
||||
call ale#test#SetFilename('../lua/dummy.lua')
|
||||
|
||||
AssertLSPProject ale#path#Simplify(g:dir . '/../lua')
|
||||
|
||||
Reference in New Issue
Block a user