feat(nvim): strip trailing whitespaces on save

This commit is contained in:
Michael Mandl 2025-03-17 13:59:54 +01:00
parent c6af7586ce
commit 9a5a39d210
Signed by: mandlm
GPG key ID: 088ED38F036C7AF2

View file

@ -15,6 +15,9 @@
# auto-close brackets, etc
nvim-autopairs
# trailing whirespaces
vim-better-whitespace
# better wildmenu
wilder-nvim
@ -201,6 +204,8 @@
require("render-markdown").setup({
file_types = { "markdown", "vimwiki", "copilot-chat" },
})
vim.g.strip_whitespace_on_save = 1
'';
};
};