Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
feat: remove lspsaga, better off without it
Browse files Browse the repository at this point in the history
  • Loading branch information
nexxeln committed Dec 14, 2022
1 parent 8e421fd commit 995af5b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 39 deletions.
3 changes: 0 additions & 3 deletions lua/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ return require("packer").startup({
use("williamboman/mason.nvim")
use("williamboman/mason-lspconfig.nvim")

-- lsp ui
use("glepnir/lspsaga.nvim")

-- lsp progress
use("j-hui/fidget.nvim")

Expand Down
4 changes: 2 additions & 2 deletions plugin/lspconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ local on_attach = function(client, bufnr)
buf_set_keymap("n", "gD", "<Cmd>lua vim.lsp.buf.declaration()<CR>", { noremap = true, silent = true })
buf_set_keymap("n", "gd", "<Cmd>lua vim.lsp.buf.definition()<CR>", { noremap = true, silent = true })
buf_set_keymap("n", "gi", "<cmd>lua vim.lsp.buf.implementation()<CR>", { noremap = true, silent = true })
-- buf_set_keymap("n", "K", "<Cmd>lua vim.lsp.buf.hover()<CR>", { noremap = true, silent = true })
buf_set_keymap("n", "K", "<Cmd>lua vim.lsp.buf.hover()<CR>", { noremap = true, silent = true })
buf_set_keymap("n", "<leader>ca", "<Cmd>lua vim.lsp.buf.code_action()<CR>", { noremap = true, silent = true })
-- buf_set_keymap("n", "gr", "<Cmd>lua vim.lsp.buf.rename()<CR>", { noremap = true, silent = true })
buf_set_keymap("n", "gr", "<Cmd>lua vim.lsp.buf.rename()<CR>", { noremap = true, silent = true })
buf_set_keymap("n", "<C-j>", "<Cmd>lua vim.diagnostic.goto_next()<CR>", { noremap = true, silent = true })
buf_set_keymap("i", "<C-k>", "<Cmd>lua vim.lsp.buf.signature_help()<CR>", { noremap = true, silent = true })
end
Expand Down
34 changes: 0 additions & 34 deletions plugin/lspsaga.lua

This file was deleted.

0 comments on commit 995af5b

Please sign in to comment.