Remove unused whitespace plugin
This commit is contained in:
parent
a2335bfd1b
commit
d2a4babb2e
|
@ -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,
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user