get rid of unused functions, and variables

This commit is contained in:
2024-11-19 13:21:07 -06:00
parent 81851bd6b5
commit fec7d9d262

View File

@ -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 = '#'