fix: improve nvim lsp usage
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
4401053898
commit
e9df63da9c
5 changed files with 96 additions and 25 deletions
|
@ -25,7 +25,14 @@ packer.startup(function()
|
|||
use("akinsho/toggleterm.nvim")
|
||||
|
||||
-- completion
|
||||
use{"ms-jpq/coq_nvim",branch='coq'}
|
||||
use("hrsh7th/cmp-nvim-lsp")
|
||||
use("hrsh7th/cmp-buffer")
|
||||
use("hrsh7th/cmp-path")
|
||||
use("hrsh7th/cmp-cmdline")
|
||||
use("hrsh7th/nvim-cmp")
|
||||
use{"glepnir/lspsaga.nvim",branch="main"}
|
||||
use("github/copilot.vim")
|
||||
use("L3MON4D3/LuaSnip")
|
||||
|
||||
-- misc
|
||||
use("davidgranstrom/nvim-markdown-preview")
|
||||
|
@ -115,3 +122,9 @@ vim.cmd[[
|
|||
|
||||
-- todo-comments
|
||||
require('todo-comments').setup {}
|
||||
|
||||
-- copilot
|
||||
vim.g.copilot_filetypes = {
|
||||
['*'] = false,
|
||||
['java'] = true,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue