[cmp] Disable snippets
This commit is contained in:
+3
-3
@@ -96,8 +96,8 @@ local function setup()
|
|||||||
function (fallback)
|
function (fallback)
|
||||||
if cmp.visible() then
|
if cmp.visible() then
|
||||||
cmp.select_next_item()
|
cmp.select_next_item()
|
||||||
elseif luasnip.expand_or_jumpable() then
|
-- elseif luasnip.expand_or_jumpable() then
|
||||||
luasnip.expand_or_jump()
|
-- luasnip.expand_or_jump()
|
||||||
elseif has_words_before() then
|
elseif has_words_before() then
|
||||||
cmp.complete()
|
cmp.complete()
|
||||||
else
|
else
|
||||||
@@ -119,7 +119,7 @@ local function setup()
|
|||||||
},
|
},
|
||||||
sources = {
|
sources = {
|
||||||
{ name = "nvim_lsp", },
|
{ name = "nvim_lsp", },
|
||||||
{ name = "luasnip", },
|
-- { name = "luasnip", },
|
||||||
{ name = "nvim_lua", },
|
{ name = "nvim_lua", },
|
||||||
{ name = "orgmode", },
|
{ name = "orgmode", },
|
||||||
{ name = "path", },
|
{ name = "path", },
|
||||||
|
|||||||
Reference in New Issue
Block a user