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
|
-- Plugins to Configure
|
||||||
-- [ ] toggleterm
|
-- [ ] toggleterm
|
||||||
-- [ ] neoscroll
|
-- [ ] neoscroll
|
||||||
|
-- [x] cmp
|
||||||
|
-- [x] lspkind
|
||||||
|
-- [x] lspsignature
|
||||||
--
|
--
|
||||||
-- Plugins to install:
|
-- Plugins to install:
|
||||||
-- [ ] telescope
|
-- [ ] telescope
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
M.signature = function() ---- lsp_signature >>>
|
M.signature = function() ---- lsp_signature >>>
|
||||||
|
require "lsp_signature".setup()
|
||||||
cfg = {
|
cfg = {
|
||||||
Gse_lspsaga = true
|
Gse_lspsaga = true
|
||||||
}
|
}
|
||||||
|
@ -145,6 +146,7 @@ M.cmp = function() ---- cmp >>>
|
||||||
{ name = 'calc' },
|
{ name = 'calc' },
|
||||||
{ name = 'vsnip' },
|
{ name = 'vsnip' },
|
||||||
{ name = 'nvim_lsp' },
|
{ name = 'nvim_lsp' },
|
||||||
|
{ name = 'nvim_lua' },
|
||||||
{ name = 'spell' },
|
{ name = 'spell' },
|
||||||
{ name = 'treesitter' },
|
{ name = 'treesitter' },
|
||||||
{ name = 'emoji' },
|
{ name = 'emoji' },
|
||||||
|
@ -207,7 +209,7 @@ M.lspconfig = function() ---- lspconfig >>>
|
||||||
|
|
||||||
-- Use a loop to conveniently call 'setup' on multiple servers and
|
-- Use a loop to conveniently call 'setup' on multiple servers and
|
||||||
-- map buffer local keybindings when the language server attaches
|
-- map buffer local keybindings when the language server attaches
|
||||||
local servers = { 'clangd', 'bash' }
|
local servers = { 'clangd', }
|
||||||
for _, lsp in ipairs(servers) do
|
for _, lsp in ipairs(servers) do
|
||||||
nvim_lsp[lsp].setup {
|
nvim_lsp[lsp].setup {
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
|
|
|
@ -105,23 +105,12 @@ return require('packer').startup(function()
|
||||||
-- require('other').gitsigns()
|
-- require('other').gitsigns()
|
||||||
-- end
|
-- end
|
||||||
}
|
}
|
||||||
-- use { -- file manager
|
use { -- file manager
|
||||||
-- 'kyazdani42/nvim-tree.lua',
|
'kyazdani42/nvim-tree.lua',
|
||||||
-- requires = 'kyazdani42/nvim-web-devicons',
|
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',
|
|
||||||
config = function()
|
config = function()
|
||||||
require('other').chadtree()
|
require('other').nvimtree()
|
||||||
end
|
end
|
||||||
-- config = funciton ()
|
|
||||||
-- vim.cmd 'nnoremap <leader>v <cmd>CHADopen<cr>'
|
|
||||||
-- end
|
|
||||||
}
|
}
|
||||||
use { -- terminal
|
use { -- terminal
|
||||||
"akinsho/toggleterm.nvim",
|
"akinsho/toggleterm.nvim",
|
||||||
|
|
Loading…
Add table
Reference in a new issue