neovim: markdown overrides

This commit is contained in:
John Bowdre 2024-12-23 21:27:39 -06:00
parent e6095e5999
commit 4139f89c60

View file

@ -13,19 +13,13 @@
command = "wincmd L";
}
# Enable spellcheck for some filetypes
# Markdown overrides
{
event = "FileType";
pattern = [ "markdown" ];
command = "setlocal spell spelllang=en";
command = "setlocal spell spelllang=en wrap linebreak ts=2 sw=2 sts=2";
}
# Enable wrap for some filetypes
{
event = "FileType";
pattern = [ "markdown" ];
command = "setlocal wrap linebreak";
}
];
}