fun/syntax-gaslighting: add plugin

This commit is contained in:
Snoweuph 2026-02-01 22:51:21 +01:00
commit b74e2f4c4e
No known key found for this signature in database
GPG key ID: BEFC41DA223CEC55
7 changed files with 109 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{
config,
lib,
...
}: let
inherit (lib.modules) mkIf;
inherit (lib.nvim.dag) entryAnywhere;
inherit (lib.nvim.lua) toLuaObject;
cfg = config.vim.fun.syntax-gaslighting;
in {
config = mkIf cfg.enable {
vim = {
startPlugins = ["syntax-gaslighting"];
pluginRC.colorful-menu-nvim = entryAnywhere ''
require("syntax-gaslighting").setup(${toLuaObject cfg.setupOpts})
'';
};
};
}