cleaned up cmp.lua

This commit is contained in:
Oliver Hartmann 2023-04-02 22:57:29 +02:00
parent 0139368180
commit a0086b4380

View File

@ -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({