Configure whitespace-nvim
This commit is contained in:
parent
c23cc39563
commit
e97bca2966
1 changed files with 15 additions and 0 deletions
15
nvim/.config/nvim/lua/plugins/whitespace-nvim.lua
Normal file
15
nvim/.config/nvim/lua/plugins/whitespace-nvim.lua
Normal file
|
@ -0,0 +1,15 @@
|
|||
return {
|
||||
"johnfrankmorgan/whitespace.nvim",
|
||||
config = function ()
|
||||
require('whitespace-nvim').setup({
|
||||
highlight = 'DiffDelete',
|
||||
})
|
||||
end,
|
||||
keys = {
|
||||
{
|
||||
"<leader>fw",
|
||||
function() require('whitespace-nvim').trim() end,
|
||||
desc = "Fix training whitespace"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue