Compare commits
No commits in common. "4ef5f14b30a858eec13c426689428e075e7b857f" and "ca0679d82d82257b9cde3796c0fd8745d488bdad" have entirely different histories.
4ef5f14b30
...
ca0679d82d
1 changed files with 4 additions and 11 deletions
|
@ -25,13 +25,13 @@ in
|
||||||
|
|
||||||
vim.opt = {
|
vim.opt = {
|
||||||
list = true;
|
list = true;
|
||||||
formatoptions = "croqanlj";
|
formatoptions = "tcroqwanljp";
|
||||||
};
|
};
|
||||||
|
|
||||||
buffer.filetype = {
|
buffer.filetype = {
|
||||||
text-options = {
|
python-options = {
|
||||||
pattern = [ "txt" "markdown" "mail" "man" ];
|
pattern = [ "python" ];
|
||||||
opt = { formatoptions = "tcroqwanjp"; };
|
opt = { formatoptions = "croqwaljp"; } // mkLineLimiterOpts 90;
|
||||||
};
|
};
|
||||||
} // lib.listToAttrs [
|
} // lib.listToAttrs [
|
||||||
(mkLineLimiterGroup {
|
(mkLineLimiterGroup {
|
||||||
|
@ -40,17 +40,10 @@ 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 = [
|
||||||
|
|
Loading…
Reference in a new issue