Remove unused whitespace plugin

This commit is contained in:
Dreaded_X 2025-05-31 00:21:17 +02:00
parent a2335bfd1b
commit d2a4babb2e
Signed by: Dreaded_X
GPG Key ID: 5A0CBFE3C3377FAA

View File

@ -1,19 +0,0 @@
return {
enabled = false,
"johnfrankmorgan/whitespace.nvim",
config = function()
require("whitespace-nvim").setup({
-- configuration options and their defaults
-- `highlight` configures which highlight is used to display
-- trailing whitespace
highlight = "CursorLine",
-- `ignored_filetypes` configures which filetypes to ignore when
-- displaying trailing whitespace
ignored_filetypes = { "TelescopePrompt", "Trouble", "help" },
})
-- remove trailing whitespace with a keybinding
vim.keymap.set("n", "<Leader>t", require("whitespace-nvim").trim, { desc = "Remove trailing whitespace" })
end,
}