neovim: remove t and c from default formatoptions

This commit is contained in:
Dmitriy Pleshevskiy 2024-10-22 16:46:42 +03:00
parent 6727763076
commit d8302e3364
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2

View file

@ -15,13 +15,13 @@ in
vim.opt = {
list = true;
formatoptions = "croqnlj";
formatoptions = "roqnlj";
};
buffer.filetype = {
text-options = {
pattern = [ "txt" "markdown" "mail" "man" ];
opt = { formatoptions = "tcroqwanjp"; };
opt = { formatoptions = "roqwnjp"; };
};
};