Compare commits

...

2 commits

Author SHA1 Message Date
eb40e0ddb6
neovim: change textwidth in line-limiter
it should be less than colorcolumn by 1
2024-05-24 01:02:14 +03:00
40ff58434d
neovim: remove formatoptions 2024-05-24 01:00:19 +03:00

View file

@ -11,7 +11,7 @@ let
inherit pattern;
opt = {
colorcolumn = toString limit;
textwidth = limit;
textwidth = limit - 1;
};
};
in
@ -23,12 +23,9 @@ in
vim.opt = {
list = true;
formatexpr = "neoformat#Neoformat(0, '', v:lnum, v:lnum + v:count)";
};
buffer.filetype = {
nix.opt.formatexpr = "neoformat#Neoformat(0, '', 0, 99999)";
} // lib.listToAttrs [
buffer.filetype = lib.listToAttrs [
(mkLineLimiterGroup {
limit = 101;
pattern = [