mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 09:12:28 +00:00
Cleanup extra nixvim config
This commit is contained in:
@@ -512,17 +512,6 @@ in {
|
|||||||
vim.cmd([[highlight ExtraWhitespace ctermbg=red guibg=red]])
|
vim.cmd([[highlight ExtraWhitespace ctermbg=red guibg=red]])
|
||||||
vim.cmd([[match ExtraWhitespace /\s\+$/]])
|
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
|
-- folding
|
||||||
vim.api.nvim_exec(
|
vim.api.nvim_exec(
|
||||||
[[
|
[[
|
||||||
|
Reference in New Issue
Block a user