From b971f4a7693cd17c541693a8598ce1e2753d33da Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sat, 18 Jan 2025 09:33:28 +0200 Subject: Added asm-lsp and gdb --- .config/nvim/after/ftplugin/asm.lua | 5 +++++ .config/nvim/lua/custom/config/language-servers.lua | 4 ++++ .config/nvim/lua/custom/plugins/mason.lua | 12 ++++++------ 3 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 .config/nvim/after/ftplugin/asm.lua (limited to '.config/nvim') diff --git a/.config/nvim/after/ftplugin/asm.lua b/.config/nvim/after/ftplugin/asm.lua new file mode 100644 index 0000000..e20fbe1 --- /dev/null +++ b/.config/nvim/after/ftplugin/asm.lua @@ -0,0 +1,5 @@ +Event = 'VeryLazy' + +vim.opt_local.tabstop = 2 -- number of visual spaces per TAB +vim.opt_local.softtabstop = 2 -- number of idfk tab when editing +vim.opt_local.shiftwidth = 2 -- number of spaces to insert on tab diff --git a/.config/nvim/lua/custom/config/language-servers.lua b/.config/nvim/lua/custom/config/language-servers.lua index d3e71ce..02754f1 100644 --- a/.config/nvim/lua/custom/config/language-servers.lua +++ b/.config/nvim/lua/custom/config/language-servers.lua @@ -154,4 +154,8 @@ return { -- }, -- }, -- }, + asm_lsp = { + mason = false, + cmd = { 'asm-lsp' }, + }, } diff --git a/.config/nvim/lua/custom/plugins/mason.lua b/.config/nvim/lua/custom/plugins/mason.lua index 43e1557..9bbb01b 100644 --- a/.config/nvim/lua/custom/plugins/mason.lua +++ b/.config/nvim/lua/custom/plugins/mason.lua @@ -24,14 +24,14 @@ return { -- 'black', -- python formatter -- 'isort', -- python formatter for imports -- 'flake8', -- python linter - 'gofumpt', -- go formatter + 'gofumpt', -- go formatter 'golangci-lint', -- go linter - 'prettierd', -- multi-lang formatter - 'prettier', -- prettierd but slower, used as a fallback - 'jq', -- json formatter - 'jsonlint', -- json linter + 'prettierd', -- multi-lang formatter + 'prettier', -- prettierd but slower, used as a fallback + 'jq', -- json formatter + 'jsonlint', -- json linter 'shellcheck', -- bash linter - 'beautysh', -- shell formatter + 'beautysh', -- shell formatter }, }, }, -- cgit v1.3.1