Cleanup extra nixvim config

This commit is contained in:
Dave Gallant
2024-02-19 08:01:03 -05:00
parent d353adb10d
commit 1d4b0cca80

View File

@@ -512,17 +512,6 @@ in {
vim.cmd([[highlight ExtraWhitespace ctermbg=red guibg=red]])
vim.cmd([[match ExtraWhitespace /\s\+$/]])
-------------------------------------------------------------------------------
-- completion {{{1 -------------------------------------------------------------------
-------------------------------------------------------------------------------
local has_words_before = function()
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
local cmp = require("cmp")
-- folding
vim.api.nvim_exec(
[[