Detect the Lua project root using .luarc.json

This commit is contained in:
w0rp committed 2025-03-27 12:40:11 +00:00
1 parent 400857d758
commit 06f4b6fe25
3 files changed
+25

No files matched your search

@@ -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')