Cleanup
This commit is contained in:
parent
f56deabf9b
commit
1738040c89
|
|
@ -46,41 +46,6 @@ local on_attach = function(client, bufnr)
|
||||||
--TODO: dap.ui.widgets, widgets.sidebar
|
--TODO: dap.ui.widgets, widgets.sidebar
|
||||||
end
|
end
|
||||||
|
|
||||||
--local lsp_flags = {
|
|
||||||
-- debounce_text_changes = 150, --wtf is this
|
|
||||||
--}
|
|
||||||
--local lspconfig = require('lspconfig');
|
|
||||||
--lspconfig.zls.setup {
|
|
||||||
-- on_attach = on_attach,
|
|
||||||
-- flags = lsp_flags,
|
|
||||||
--}
|
|
||||||
--lspconfig.gopls.setup{
|
|
||||||
-- on_attach = on_attach,
|
|
||||||
-- flags = lsp_flags,
|
|
||||||
--}
|
|
||||||
--lspconfig.clangd.setup{
|
|
||||||
-- on_attach = on_attach,
|
|
||||||
-- flags = lsp_flags,
|
|
||||||
-- handlers = {
|
|
||||||
-- ["textDocument/publishDiagnostics"] = function(err, result, ctx, config)
|
|
||||||
-- end
|
|
||||||
-- }
|
|
||||||
--}
|
|
||||||
--lspconfig.rust_analyzer.setup{
|
|
||||||
-- on_attach = on_attach,
|
|
||||||
--}
|
|
||||||
--lspconfig.ols.setup{
|
|
||||||
-- on_attach = on_attach,
|
|
||||||
--}
|
|
||||||
--lspconfig.pylsp.setup{
|
|
||||||
-- on_attach = on_attach,
|
|
||||||
-- flags = lsp_flags,
|
|
||||||
--}
|
|
||||||
--lspconfig.gdscript.setup{
|
|
||||||
-- on_attach = on_attach,
|
|
||||||
-- flags = lsp_flags,
|
|
||||||
--}
|
|
||||||
|
|
||||||
local godot_port = os.getenv 'GDScript_Port' or '6005'
|
local godot_port = os.getenv 'GDScript_Port' or '6005'
|
||||||
|
|
||||||
local lsps = {
|
local lsps = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue