diff --git a/lua/buildcmd.lua b/lua/buildcmd.lua index da990dc..1d817da 100644 --- a/lua/buildcmd.lua +++ b/lua/buildcmd.lua @@ -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 diff --git a/lua/keybindings.lua b/lua/keybindings.lua index b2dce4a..eb3a91f 100644 --- a/lua/keybindings.lua +++ b/lua/keybindings.lua @@ -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 = {