visuals/hlargs-nvim: init plugin

ez every time

npins bad tho
This commit is contained in:
dish 2026-01-14 15:22:22 -05:00
commit d52b2b1d78
6 changed files with 50 additions and 0 deletions

View file

@ -138,6 +138,9 @@
[Tombi](https://tombi-toml.github.io/tombi/) language server, linter, and [Tombi](https://tombi-toml.github.io/tombi/) language server, linter, and
formatter. formatter.
- Added [hlargs.nvim](https://github.com/m-demare/hlargs.nvim) support as
`visuals.hlargs-nvim`.
[Machshev](https://github.com/machshev): [Machshev](https://github.com/machshev):
- Added `ruff` and `ty` LSP support for Python under `programs.python`. - Added `ruff` and `ty` LSP support for Python under `programs.python`.

View file

@ -11,6 +11,7 @@ in {
./cinnamon-nvim ./cinnamon-nvim
./fidget-nvim ./fidget-nvim
./highlight-undo ./highlight-undo
./hlargs-nvim
./indent-blankline ./indent-blankline
./nvim-cursorline ./nvim-cursorline
./nvim-scrollbar ./nvim-scrollbar

View file

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

View file

@ -0,0 +1,6 @@
{
imports = [
./hlargs-nvim.nix
./config.nix
];
}

View file

@ -0,0 +1,9 @@
{lib, ...}: let
inherit (lib.options) mkEnableOption;
inherit (lib.nvim.types) mkPluginSetupOption;
in {
options.vim.visuals.hlargs-nvim = {
enable = mkEnableOption "hlargs-nvim";
setupOpts = mkPluginSetupOption "hlargs-nvim" {};
};
}

View file

@ -598,6 +598,19 @@
"submodules": false, "submodules": false,
"revision": "ee32e12693d70e66f954d09a504a7371d110fc27" "revision": "ee32e12693d70e66f954d09a504a7371d110fc27"
}, },
"hlargs-nvim": {
"type": "Git",
"repository": {
"type": "GitHub",
"owner": "m-demare",
"repo": "hlargs.nvim"
},
"branch": "main",
"submodules": false,
"revision": "0b29317c944fb1f76503ce4540d6dceffbb5ccd2",
"url": "https://github.com/m-demare/hlargs.nvim/archive/0b29317c944fb1f76503ce4540d6dceffbb5ccd2.tar.gz",
"hash": "sha256-WjmVefR0qk2ANWgyHSuYMTuCfzlVTF7tqzAL+uatKkc="
},
"hop.nvim": { "hop.nvim": {
"type": "GitRelease", "type": "GitRelease",
"repository": { "repository": {