diff options
| author | Dmitriy Gorokhov <didedoshka@gmail.com> | 2024-01-29 04:14:48 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-28 17:14:48 -0800 |
| commit | 55cff4bf5fc5f413cb34f35365d99793f3ac95ae (patch) | |
| tree | 91ebf99a149c234f8438c7fd3a70828808c8a7e5 /lua | |
| parent | no feature requests (diff) | |
| download | nvim-lspconfig-55cff4bf5fc5f413cb34f35365d99793f3ac95ae.tar nvim-lspconfig-55cff4bf5fc5f413cb34f35365d99793f3ac95ae.tar.gz nvim-lspconfig-55cff4bf5fc5f413cb34f35365d99793f3ac95ae.tar.bz2 nvim-lspconfig-55cff4bf5fc5f413cb34f35365d99793f3ac95ae.tar.lz nvim-lspconfig-55cff4bf5fc5f413cb34f35365d99793f3ac95ae.tar.xz nvim-lspconfig-55cff4bf5fc5f413cb34f35365d99793f3ac95ae.tar.zst nvim-lspconfig-55cff4bf5fc5f413cb34f35365d99793f3ac95ae.zip | |
fix(lua-language-server): update root directory search (#2842)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/lua_ls.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/server_configurations/lua_ls.lua b/lua/lspconfig/server_configurations/lua_ls.lua index 79bff16e..3a188383 100644 --- a/lua/lspconfig/server_configurations/lua_ls.lua +++ b/lua/lspconfig/server_configurations/lua_ls.lua @@ -21,7 +21,7 @@ return { end root = util.root_pattern 'lua/'(fname) if root then - return root .. '/lua/' + return root end return util.find_git_ancestor(fname) end, |
