Removed chadtree, fixed and added integrations with cmp
I felt that chadtree was bloated
This commit is contained in:
parent
939f96564c
commit
24fb0019f8
3 changed files with 11 additions and 17 deletions
|
@ -13,6 +13,9 @@ require('plugins')
|
|||
-- Plugins to Configure
|
||||
-- [ ] toggleterm
|
||||
-- [ ] neoscroll
|
||||
-- [x] cmp
|
||||
-- [x] lspkind
|
||||
-- [x] lspsignature
|
||||
--
|
||||
-- Plugins to install:
|
||||
-- [ ] telescope
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -105,23 +105,12 @@ return require('packer').startup(function()
|
|||
-- require('other').gitsigns()
|
||||
-- end
|
||||
}
|
||||
-- use { -- file manager
|
||||
-- 'kyazdani42/nvim-tree.lua',
|
||||
-- requires = 'kyazdani42/nvim-web-devicons',
|
||||
-- config = function()
|
||||
-- require('other').nvimtree()
|
||||
-- end
|
||||
-- }
|
||||
use { -- new file manager
|
||||
'ms-jpq/chadtree',
|
||||
branch = 'chad',
|
||||
run = 'python3 -m chadtree deps',
|
||||
use { -- file manager
|
||||
'kyazdani42/nvim-tree.lua',
|
||||
requires = 'kyazdani42/nvim-web-devicons',
|
||||
config = function()
|
||||
require('other').chadtree()
|
||||
require('other').nvimtree()
|
||||
end
|
||||
-- config = funciton ()
|
||||
-- vim.cmd 'nnoremap <leader>v <cmd>CHADopen<cr>'
|
||||
-- end
|
||||
}
|
||||
use { -- terminal
|
||||
"akinsho/toggleterm.nvim",
|
||||
|
|
Loading…
Add table
Reference in a new issue