Nvim: further cleanup
This commit is contained in:
@@ -1,18 +0,0 @@
|
|||||||
return {
|
|
||||||
"nvim-neorg/neorg",
|
|
||||||
build = ":Neorg sync-parsers",
|
|
||||||
opts = {
|
|
||||||
load = {
|
|
||||||
["core.defaults"] = {}, -- Loads default behaviour
|
|
||||||
["core.concealer"] = {}, -- Adds pretty icons to your documents
|
|
||||||
["core.dirman"] = { -- Manages Neorg workspaces
|
|
||||||
config = {
|
|
||||||
workspaces = {
|
|
||||||
notes = "~/notes",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
dependencies = { { "nvim-lua/plenary.nvim" } },
|
|
||||||
}
|
|
||||||
@@ -1,23 +1,25 @@
|
|||||||
return {
|
return {
|
||||||
'hrsh7th/nvim-cmp',
|
'hrsh7th/nvim-cmp',
|
||||||
dependencies = {
|
dependencies = {
|
||||||
'mstanciu552/cmp-matlab',
|
'dcampos/cmp-snippy',
|
||||||
|
--'mstanciu552/cmp-matlab',
|
||||||
'petertriho/cmp-git',
|
'petertriho/cmp-git',
|
||||||
'hrsh7th/cmp-buffer',
|
'hrsh7th/cmp-buffer',
|
||||||
'hrsh7th/cmp-cmdline',
|
'hrsh7th/cmp-cmdline',
|
||||||
'hrsh7th/cmp-nvim-lsp',
|
'hrsh7th/cmp-nvim-lsp',
|
||||||
'hrsh7th/cmp-path',
|
'hrsh7th/cmp-path',
|
||||||
|
'hrsh7th/cmp-calc',
|
||||||
},
|
},
|
||||||
event = "InsertEnter",
|
event = "InsertEnter",
|
||||||
config = function()
|
config = function()
|
||||||
local cmp = require'cmp'
|
local cmp = require'cmp'
|
||||||
|
|
||||||
cmp.setup({
|
cmp.setup({
|
||||||
snippet = {
|
-- snippet = {
|
||||||
expand = function(args)
|
-- expand = function(args)
|
||||||
require('snippy').expand_snippet(args.body)
|
-- require('snippy').expand_snippet(args.body)
|
||||||
end,
|
-- end,
|
||||||
},
|
-- },
|
||||||
window = {
|
window = {
|
||||||
completion = cmp.config.window.bordered(),
|
completion = cmp.config.window.bordered(),
|
||||||
documentation = cmp.config.window.bordered(),
|
documentation = cmp.config.window.bordered(),
|
||||||
@@ -34,7 +36,7 @@ return {
|
|||||||
{ name = 'path' },
|
{ name = 'path' },
|
||||||
{ name = 'snippy' },
|
{ name = 'snippy' },
|
||||||
{ name = 'calc' },
|
{ name = 'calc' },
|
||||||
{ name = 'cmp_matlab' },
|
-- { name = 'cmp_matlab' },
|
||||||
{ name = 'cmp_git' },
|
{ name = 'cmp_git' },
|
||||||
}, {
|
}, {
|
||||||
{ name = 'buffer', keyword_length = 5, max_item_count = 10, priority = -5 },
|
{ name = 'buffer', keyword_length = 5, max_item_count = 10, priority = -5 },
|
||||||
|
|||||||
Reference in New Issue
Block a user