umm
This commit is contained in:
@ -2,6 +2,7 @@ local use_google = require("utils").use_google
|
||||
return {
|
||||
{
|
||||
"Exafunction/codeium.nvim",
|
||||
commit = "b1ff0d6c993e3d87a4362d2ccd6c660f7444599f",
|
||||
event = "VeryLazy",
|
||||
-- event = "InsertEnter",
|
||||
cond = not use_google(),
|
||||
|
@ -83,7 +83,16 @@ return {
|
||||
require("config.lsp-google").setup(capabilities)
|
||||
|
||||
-- Godot
|
||||
lspconfig.gdscript.setup({})
|
||||
local godot_handlers = {
|
||||
["textDocument/publishDiagnostics"] = vim.lsp.with(vim.lsp.diagnostic.on_publish_diagnostics, {
|
||||
underline = true,
|
||||
}),
|
||||
}
|
||||
lspconfig.gdscript.setup({
|
||||
flags = {
|
||||
debounce_text_changes = 2000, -- Wait 5 seconds before sending didChange
|
||||
},
|
||||
})
|
||||
vim.cmd([[autocmd FileType gdscript setlocal commentstring=#\ %s]])
|
||||
vim.cmd([[autocmd FileType gdscript setlocal autoindent noexpandtab tabstop=4 shiftwidth=4]])
|
||||
|
||||
|
@ -21,12 +21,10 @@ return {
|
||||
end,
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"mrbjarksen/neo-tree-diagnostics.nvim",
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
keys = {
|
||||
{ "<C-n>", ":Neotree filesystem reveal toggle reveal_force_cwd<cr>", desc = "Open NeoTree" },
|
||||
{ "<Leader>xd", "<Cmd>Neotree diagnostics reveal bottom<CR>" },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
@ -72,6 +72,5 @@ return {
|
||||
},
|
||||
})
|
||||
end,
|
||||
lazy = false,
|
||||
},
|
||||
}
|
||||
|
@ -16,6 +16,8 @@ return {
|
||||
})
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>xt", "<cmd>:Telescope diagnostics<CR>" },
|
||||
{ "<leader>xd", "<cmd>:Trouble workspace<CR>" },
|
||||
{ "[g", "<cmd>lua vim.diagnostic.goto_prev()<CR>" },
|
||||
{ "]g", "<cmd>lua vim.diagnostic.goto_next()<CR>" },
|
||||
},
|
||||
|
Reference in New Issue
Block a user