Detect the Lua project root using .luarc.json

This commit is contained in:
w0rp committed 2025-03-21 12:07:10 +00:00
1 parent bcd1a12949
commit 7f43666fb3
3 files changed
+25

No files matched your search

+1
View File
@@ -4,6 +4,7 @@
" Find project root for a Lua language server.
function! ale#lua#FindProjectRoot(buffer) abort
let l:possible_project_roots = [
\ '.luarc.json',
\ '.git',
\ bufname(a:buffer),
\]