1
0
Fork 0

fix: improve nvim lsp usage

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2022-08-10 23:09:13 -04:00
parent 4401053898
commit e9df63da9c
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47
5 changed files with 96 additions and 25 deletions

View file

@ -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,
}