Compare commits
2 commits
ca0679d82d
...
4ef5f14b30
Author | SHA1 | Date | |
---|---|---|---|
4ef5f14b30 | |||
869afe4b3a |
1 changed files with 11 additions and 4 deletions
|
@ -25,13 +25,13 @@ in
|
|||
|
||||
vim.opt = {
|
||||
list = true;
|
||||
formatoptions = "tcroqwanljp";
|
||||
formatoptions = "croqanlj";
|
||||
};
|
||||
|
||||
buffer.filetype = {
|
||||
python-options = {
|
||||
pattern = [ "python" ];
|
||||
opt = { formatoptions = "croqwaljp"; } // mkLineLimiterOpts 90;
|
||||
text-options = {
|
||||
pattern = [ "txt" "markdown" "mail" "man" ];
|
||||
opt = { formatoptions = "tcroqwanjp"; };
|
||||
};
|
||||
} // lib.listToAttrs [
|
||||
(mkLineLimiterGroup {
|
||||
|
@ -40,10 +40,17 @@ in
|
|||
"nix"
|
||||
"javascript,javascriptreact"
|
||||
"typescript,typescriptreact"
|
||||
"vue"
|
||||
"rust"
|
||||
"haskell"
|
||||
];
|
||||
})
|
||||
(mkLineLimiterGroup {
|
||||
limit = 90;
|
||||
pattern = [
|
||||
"python"
|
||||
];
|
||||
})
|
||||
(mkLineLimiterGroup {
|
||||
limit = 80;
|
||||
pattern = [
|
||||
|
|
Loading…
Reference in a new issue