Cleanup
This commit is contained in:
parent
f56deabf9b
commit
1738040c89
|
|
@ -74,7 +74,7 @@ function save_all_and_build()
|
|||
end
|
||||
|
||||
function save_all_and_buildnrun()
|
||||
if job_id then
|
||||
if job_id then
|
||||
print("Job processing")
|
||||
return
|
||||
end
|
||||
|
|
|
|||
|
|
@ -46,41 +46,6 @@ local on_attach = function(client, bufnr)
|
|||
--TODO: dap.ui.widgets, widgets.sidebar
|
||||
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 lsps = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue