From a0086b4380d609c610571fe4cc7d0e6abd4de5eb Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Sun, 2 Apr 2023 22:57:29 +0200 Subject: [PATCH] cleaned up cmp.lua --- lua/plugins/cmp.lua | 5 ----- 1 file changed, 5 deletions(-) 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({