diff options
Diffstat (limited to '')
-rw-r--r-- | lua/conf/plugins/cmp.lua | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lua/conf/plugins/cmp.lua b/lua/conf/plugins/cmp.lua index 5d9dac2..dd25e5b 100644 --- a/lua/conf/plugins/cmp.lua +++ b/lua/conf/plugins/cmp.lua @@ -1,10 +1,3 @@ -local function has_words_before() - unpack = unpack or table.unpack - local line, col = unpack(vim.api.nvim_win_get_cursor(0)) - return col ~= 0 and vim.api.nvim_buf_get_lines(0, line - 1, line, true) - [1]:sub(col, col):match("%s") == nil -end - return { 'hrsh7th/nvim-cmp', requires = { 'nvim-treesitter/nvim-treesitter', @@ -90,7 +83,6 @@ return { 'hrsh7th/nvim-cmp', local menu_icon = { nvim_lsp = 'λ', nvim_lua = 'v', - calc = '+', luasnip = '%', buffer = '@', path = '#' |