diff --git a/lua/plugins/cmp.lua b/lua/plugins/cmp.lua index 84c8347..933b9bf 100644 --- a/lua/plugins/cmp.lua +++ b/lua/plugins/cmp.lua @@ -30,11 +30,6 @@ return { return vim.api.nvim_replace_termcodes(str, true, true, true) end - local check_back_space = function() - local col = vim.fn.col('.') - 1 - return col == 0 or vim.fn.getline('.'):sub(col, col):match('%s') ~= nil - end - cmp.setup({ formatting = { format = require('lspkind').cmp_format({