From 0f8e56394d708dc594af563c53f0f73cfd353189 Mon Sep 17 00:00:00 2001 From: Michael Housh Date: Wed, 20 Mar 2024 19:19:05 -0400 Subject: [PATCH] removes lua-snip --- nvim/m-housh/lua/user/plugin/cmp.lua | 8 ++++---- nvim/m-housh/lua/user/plugin/theme.lua | 14 +++++++++++++- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/nvim/m-housh/lua/user/plugin/cmp.lua b/nvim/m-housh/lua/user/plugin/cmp.lua index b3de504..28e094a 100755 --- a/nvim/m-housh/lua/user/plugin/cmp.lua +++ b/nvim/m-housh/lua/user/plugin/cmp.lua @@ -113,10 +113,10 @@ return { [""] = cmp.mapping(function(fallback) if cmp.visible() then cmp.select_next_item() - elseif luasnip.expandable() then - luasnip.expand() - elseif luasnip.expand_or_jumpable() then - luasnip.expand_or_jump() +-- elseif luasnip.expandable() then +-- luasnip.expand() +-- elseif luasnip.expand_or_jumpable() then +-- luasnip.expand_or_jump() elseif has_words_before() then cmp.complete() else diff --git a/nvim/m-housh/lua/user/plugin/theme.lua b/nvim/m-housh/lua/user/plugin/theme.lua index bf839c1..9849e1f 100755 --- a/nvim/m-housh/lua/user/plugin/theme.lua +++ b/nvim/m-housh/lua/user/plugin/theme.lua @@ -22,5 +22,17 @@ -- } -- }, -- } -return { "catppuccin/nvim", name = "catppuccin", priority = 1000 } +return { + "catppuccin/nvim", + name = "catppuccin", + priority = 1000, + opts = { + color_overrides = { + all = { + text = "#ffffff", + strings = "#ffffff" + } + } + } +}