Removed chadtree, fixed and added integrations with cmp

I felt that chadtree was bloated
This commit is contained in:
PowerUser64 2021-09-06 21:21:51 -07:00
parent 939f96564c
commit 24fb0019f8
3 changed files with 11 additions and 17 deletions

View file

@ -1,6 +1,7 @@
local M = {}
M.signature = function() ---- lsp_signature >>>
require "lsp_signature".setup()
cfg = {
Gse_lspsaga = true
}
@ -26,7 +27,7 @@ M.lspinstall = function() ---- lspinstall >>>
end
-- <<<
M.treesitter = function () ---- treesitter >>>
M.treesitter = function() ---- treesitter >>>
require('nvim-treesitter.configs').setup {
highlight = {
enable = true, -- false will disable the whole extension
@ -145,6 +146,7 @@ M.cmp = function() ---- cmp >>>
{ name = 'calc' },
{ name = 'vsnip' },
{ name = 'nvim_lsp' },
{ name = 'nvim_lua' },
{ name = 'spell' },
{ name = 'treesitter' },
{ name = 'emoji' },
@ -207,7 +209,7 @@ M.lspconfig = function() ---- lspconfig >>>
-- Use a loop to conveniently call 'setup' on multiple servers and
-- map buffer local keybindings when the language server attaches
local servers = { 'clangd', 'bash' }
local servers = { 'clangd', }
for _, lsp in ipairs(servers) do
nvim_lsp[lsp].setup {
on_attach = on_attach,