feat(nvim): extend neodev coverage to /tmp
This commit is contained in:
parent
ebf351675d
commit
47b54ce96e
@ -152,7 +152,14 @@ lspconfig.ansiblels.setup({
|
|||||||
})
|
})
|
||||||
|
|
||||||
-- NOTE: LUA LSP
|
-- NOTE: LUA LSP
|
||||||
require("neodev").setup({})
|
require("neodev").setup({
|
||||||
|
override = function(root_dir, library)
|
||||||
|
if root_dir:find("/tmp", 1, true) == 1 then
|
||||||
|
library.enabled = true
|
||||||
|
library.plugins = true
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
lspconfig.lua_ls.setup({
|
lspconfig.lua_ls.setup({
|
||||||
settings = {
|
settings = {
|
||||||
|
Loading…
Reference in New Issue
Block a user