diff --git a/nvim/.config/nvim/lua/plugins/whitespace-nvim.lua b/nvim/.config/nvim/lua/plugins/whitespace-nvim.lua new file mode 100644 index 0000000..3539cf9 --- /dev/null +++ b/nvim/.config/nvim/lua/plugins/whitespace-nvim.lua @@ -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" + } + } +}