From 04f4c1e00e1595b219b857e48abefc93f407327a Mon Sep 17 00:00:00 2001 From: Shu Kutsuzawa Date: Mon, 27 Nov 2023 01:52:11 +0900 Subject: [PATCH] install nvim-dap --- .config/nvim/lua/config/lazy.lua | 4 +++- .config/nvim/lua/plugins/formatting.lua | 2 +- .config/nvim/lua/plugins/lsp.lua | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.config/nvim/lua/config/lazy.lua b/.config/nvim/lua/config/lazy.lua index ab5890dd..3b629829 100644 --- a/.config/nvim/lua/config/lazy.lua +++ b/.config/nvim/lua/config/lazy.lua @@ -14,8 +14,10 @@ local icons = { require("lazy").setup({ spec = { { "LazyVim/LazyVim", import = "lazyvim.plugins" }, - { import = "lazyvim.plugins.extras.coding.copilot" }, { import = "plugins" }, + { import = "lazyvim.plugins.extras.coding.copilot" }, + { import = "lazyvim.plugins.extras.dap.core" }, + { import = "lazyvim.plugins.extras.lang.go" }, }, defaults = { -- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup. diff --git a/.config/nvim/lua/plugins/formatting.lua b/.config/nvim/lua/plugins/formatting.lua index 3a25fc62..339e48b4 100644 --- a/.config/nvim/lua/plugins/formatting.lua +++ b/.config/nvim/lua/plugins/formatting.lua @@ -8,7 +8,7 @@ return { }, formatters_by_ft = { css = { "prettier" }, - go = { "goimports" }, + go = { "goimports", "gofumpt" }, html = { "prettier" }, javascript = { "prettier" }, json = { "prettier" }, diff --git a/.config/nvim/lua/plugins/lsp.lua b/.config/nvim/lua/plugins/lsp.lua index aedb07bf..e8322885 100644 --- a/.config/nvim/lua/plugins/lsp.lua +++ b/.config/nvim/lua/plugins/lsp.lua @@ -186,7 +186,6 @@ return { "beautysh", "cueimports", "flake8", - "goimports", "prettier", "shellcheck", "shfmt",