Compare commits

..

2 commits

View file

@ -25,13 +25,13 @@ in
vim.opt = { vim.opt = {
list = true; list = true;
formatoptions = "tcroqwanljp"; formatoptions = "croqanlj";
}; };
buffer.filetype = { buffer.filetype = {
python-options = { text-options = {
pattern = [ "python" ]; pattern = [ "txt" "markdown" "mail" "man" ];
opt = { formatoptions = "croqwaljp"; } // mkLineLimiterOpts 90; opt = { formatoptions = "tcroqwanjp"; };
}; };
} // lib.listToAttrs [ } // lib.listToAttrs [
(mkLineLimiterGroup { (mkLineLimiterGroup {
@ -40,10 +40,17 @@ in
"nix" "nix"
"javascript,javascriptreact" "javascript,javascriptreact"
"typescript,typescriptreact" "typescript,typescriptreact"
"vue"
"rust" "rust"
"haskell" "haskell"
]; ];
}) })
(mkLineLimiterGroup {
limit = 90;
pattern = [
"python"
];
})
(mkLineLimiterGroup { (mkLineLimiterGroup {
limit = 80; limit = 80;
pattern = [ pattern = [