diff --git a/after/plugin/lsp.lua b/after/plugin/lsp.lua index f397561..996a0c5 100644 --- a/after/plugin/lsp.lua +++ b/after/plugin/lsp.lua @@ -6,7 +6,12 @@ local lsp_default_capabilities = vim.lsp.protocol.make_client_capabilities() local capabilities = vim.tbl_deep_extend("force", {}, lsp_default_capabilities, default_capabilities) -require("mason").setup() +require("mason").setup({ + ui = { + border = "single", + }, +}) + require("mason-lspconfig").setup({ ensure_installed = { "tsserver", "rust_analyzer" }, handlers = { @@ -106,11 +111,9 @@ vim.diagnostic.config({ }, }) -vim.lsp.handlers["textDocument/hover"] = vim.lsp.with( - vim.lsp.handlers.hover, { - border = "single" - } -) +vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, { + border = "single", +}) require("lspconfig.ui.windows").default_options = { border = "single", diff --git a/lazy-lock.json b/lazy-lock.json index 829da3b..a2eefd4 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -18,6 +18,7 @@ "lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "44509689b9bf3984d729cc264aacb31cb7f41668" }, "mason.nvim": { "branch": "main", "commit": "751b1fcbf3d3b783fcf8d48865264a9bcd8f9b10" }, + "mini.diff": { "branch": "main", "commit": "5600beba78cebd2790d679b531b6543fe2e91b12" }, "mini.surround": { "branch": "main", "commit": "a1b590cc3b676512de507328d6bbab5e43794720" }, "neogen": { "branch": "main", "commit": "0daffcec249bf42275e322361fe55b89a05ff278" }, "nvim-cmp": { "branch": "main", "commit": "ce16de5665c766f39c271705b17fff06f7bcb84f" }, diff --git a/lua/409/plugins/git.lua b/lua/409/plugins/git.lua index 23a8c64..9d8e333 100644 --- a/lua/409/plugins/git.lua +++ b/lua/409/plugins/git.lua @@ -1,13 +1,20 @@ return { - { - "tpope/vim-fugitive", - keys = { - { - "gs", - vim.cmd.Git, - mode = "n", - desc = "Open Fugitive" - } - } - }, + { + "tpope/vim-fugitive", + keys = { + { + "gs", + vim.cmd.Git, + mode = "n", + desc = "Open Fugitive", + }, + }, + }, + { + "echasnovski/mini.diff", + version = false, + config = function() + require("mini.diff").setup() + end, + }, }