Don't strip whitespace on markdown files
This commit is contained in:
parent
2c5685afaf
commit
3446969123
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
local group = vim.api.nvim_create_augroup("configgroup", { clear = true })
|
||||
-- Run StripWhitespaceOnChangedLines on write
|
||||
vim.api.nvim_create_autocmd("BufWritePre", {
|
||||
pattern = "!.md",
|
||||
command = "StripWhitespaceOnChangedLines",
|
||||
group = group
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue