Godot integration, makes a server which might be an issue for multiple
nvim instances.
This commit is contained in:
@@ -34,6 +34,7 @@ local on_attach = function(client, bufnr)
|
||||
vim.keymap.set('n', '<leader>rf', tbuiltin.lsp_references, bufopts)
|
||||
vim.keymap.set('n', '<leader>rs', tbuiltin.lsp_document_symbols, bufopts)
|
||||
vim.keymap.set('n', '<leader>rr', vim.lsp.buf.rename, bufopts)
|
||||
--vim.keymap.set('i', '<A-.>', v:lua.vim.lsp.omnifunc, bufopts)
|
||||
end
|
||||
|
||||
local lsp_flags = {
|
||||
@@ -67,3 +68,8 @@ lspconfig.pylsp.setup{
|
||||
on_attach = on_attach,
|
||||
flags = lsp_flags,
|
||||
}
|
||||
lspconfig.gdscript.setup{
|
||||
on_attach = on_attach,
|
||||
flags = lsp_flags,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user