mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-17 15:49:07 +00:00
Merge pull request #1342 from pyrox0/feat/hlargs-nvim
visuals/hlargs-nvim: init plugin
This commit is contained in:
commit
cf7b87c63b
6 changed files with 50 additions and 0 deletions
|
|
@ -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`.
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
18
modules/plugins/visuals/hlargs-nvim/config.nix
Normal file
18
modules/plugins/visuals/hlargs-nvim/config.nix
Normal 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})
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
6
modules/plugins/visuals/hlargs-nvim/default.nix
Normal file
6
modules/plugins/visuals/hlargs-nvim/default.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./hlargs-nvim.nix
|
||||||
|
./config.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
9
modules/plugins/visuals/hlargs-nvim/hlargs-nvim.nix
Normal file
9
modules/plugins/visuals/hlargs-nvim/hlargs-nvim.nix
Normal 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" {};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -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": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue