From fec7d9d262f342406087227320c6ce20442cd3b7 Mon Sep 17 00:00:00 2001 From: Squibid Date: Tue, 19 Nov 2024 13:21:07 -0600 Subject: get rid of unused functions, and variables --- lua/conf/plugins/cmp.lua | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lua') 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 = '#' -- cgit v1.2.1