diff options
author | Squibid <me@zacharyscheiman.com> | 2024-11-19 13:21:07 -0600 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2024-11-19 13:21:07 -0600 |
commit | fec7d9d262f342406087227320c6ce20442cd3b7 (patch) | |
tree | 4f39472ecb53e45b67ce362a952c862c49b55d02 /lua | |
parent | 81851bd6b5967917ce65ef1e135dba6259a0baa2 (diff) | |
download | nvim-fec7d9d262f342406087227320c6ce20442cd3b7.tar.gz nvim-fec7d9d262f342406087227320c6ce20442cd3b7.tar.bz2 nvim-fec7d9d262f342406087227320c6ce20442cd3b7.zip |
get rid of unused functions, and variables
Diffstat (limited to 'lua')
-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 = '#' |