no more copilot

This commit is contained in:
iofq 2025-07-05 21:18:10 -05:00
parent d360f0e701
commit 5f5ac17935
No known key found for this signature in database
GPG key ID: ECF3B2DA38BF7183
10 changed files with 78 additions and 141 deletions

23
nvim/lsp/lua_ls.lua Normal file
View file

@ -0,0 +1,23 @@
return {
on_init = function(client)
local path = client.workspace_folders[1].name
if vim.loop.fs_stat(path .. '/.luarc.json') or vim.loop.fs_stat(path .. '/.luarc.jsonc') then
return
end
client.config.settings.Lua = vim.tbl_deep_extend('force', client.config.settings.Lua, {
runtime = {
version = 'LuaJIT',
},
workspace = {
checkThirdParty = false,
library = {
vim.env.VIMRUNTIME,
},
},
})
end,
settings = {
Lua = {},
},
}