plugins/faster: init
Some checks failed
Publish every Git push to main to FlakeHub / flakehub-publish (push) Has been cancelled
Publish every git push to Flakestry / publish-flake (push) Has been cancelled
Documentation / Version info (push) Has been cancelled
Documentation / Build (push) Has been cancelled
Documentation / Combine builds (push) Has been cancelled
Documentation / Deploy (push) Has been cancelled

Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
saygo-png 2025-07-21 20:58:40 +02:00 committed by Gaétan Lepage
parent 1729fe1608
commit a16c89c175
2 changed files with 156 additions and 0 deletions

View file

@ -0,0 +1,43 @@
{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "faster";
packPathName = "faster.nvim";
package = "faster-nvim";
description = "Selectively disable some features when a big file is opened or macro is executed.";
maintainers = [ lib.maintainers.saygo-png ];
settingsExample = {
behaviours = {
bigfile = {
on = true;
features_disabled = [
"lsp"
"treesitter"
];
filesize = 2;
pattern = "*";
extra_patterns = [
{
filesize = 1.1;
pattern = "*.md";
}
{ pattern = "*.log"; }
];
};
fastmacro = {
on = true;
features_disabled = [ "lualine" ];
};
};
features = {
lsp = {
on = true;
defer = false;
};
treesitter = {
on = true;
defer = false;
};
};
};
}