diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2022-06-19 16:34:51 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2022-06-19 16:35:27 +0200 |
| commit | b907418558ac08afd1a7411d3e1e6c1adbd3ca14 (patch) | |
| tree | fb2f4d2e1d7f8a270cae9fac6eb93e52955d89a7 /lua | |
| parent | 09361db9ee52be27ddb27320eda8121223330f04 (diff) | |
| download | nvim-conf-b907418558ac08afd1a7411d3e1e6c1adbd3ca14.tar.gz nvim-conf-b907418558ac08afd1a7411d3e1e6c1adbd3ca14.zip | |
Add some packages, fix dap ui new error warning
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/alpha/dap.lua | 24 | ||||
| -rw-r--r-- | lua/alpha/lsp.lua | 7 | ||||
| -rw-r--r-- | lua/alpha/plugins.lua | 2 |
3 files changed, 29 insertions, 4 deletions
diff --git a/lua/alpha/dap.lua b/lua/alpha/dap.lua index 27b596d..3c87f00 100644 --- a/lua/alpha/dap.lua +++ b/lua/alpha/dap.lua @@ -2,10 +2,26 @@ local dap, dapui, dap_install = require("dap"), require("dapui"), require("dap-i local api = vim.api dapui.setup({ - sidebar = { - size = 80, - position = "right", - }, + layouts = { + { + elements = { + 'scopes', + 'breakpoints', + 'stacks', + 'watches', + }, + size = 80, + position = 'right', + }, + { + elements = { + 'repl', + 'console', + }, + size = 10, + position = 'bottom', + }, + }, }) require("dap-go").setup() diff --git a/lua/alpha/lsp.lua b/lua/alpha/lsp.lua index 30d6562..ed81b81 100644 --- a/lua/alpha/lsp.lua +++ b/lua/alpha/lsp.lua @@ -9,6 +9,9 @@ local filetype_attach = setmetatable({ augroup END ]]) end, + + gdscript = function (_) + end }, { __index = function() return function() end @@ -54,6 +57,10 @@ lsp_installer.on_server_ready(function(server) vim.cmd([[ do User LspAttachBuffers ]]) end) +require("lspconfig").gdscript.setup({ + on_attach = on_attach, +}) + vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(vim.lsp.diagnostic.on_publish_diagnostics, { underline = true, update_in_insert = false, diff --git a/lua/alpha/plugins.lua b/lua/alpha/plugins.lua index b736e1b..dc2b150 100644 --- a/lua/alpha/plugins.lua +++ b/lua/alpha/plugins.lua @@ -193,4 +193,6 @@ return require("packer").startup(function(use) -- Local plugins can be included local_use("telescope-projectionist.nvim") local_use("telescope-laravel.nvim") + + use({"habamax/vim-godot"}) end) |