Merge pull request #1342 from pyrox0/feat/hlargs-nvim

visuals/hlargs-nvim: init plugin
This commit is contained in:
raf 2026-01-15 10:57:15 +03:00 committed by GitHub
commit cf7b87c63b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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

@ -708,6 +708,19 @@
"url": "https://github.com/tzachar/highlight-undo.nvim/archive/ee32e12693d70e66f954d09a504a7371d110fc27.tar.gz", "url": "https://github.com/tzachar/highlight-undo.nvim/archive/ee32e12693d70e66f954d09a504a7371d110fc27.tar.gz",
"hash": "sha256-yU4i3uPI7qghxdevOuqzxu8gIol6pxgd7TIY6vnyfiU=" "hash": "sha256-yU4i3uPI7qghxdevOuqzxu8gIol6pxgd7TIY6vnyfiU="
}, },
"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": {