Commit graph

21 commits

Author SHA1 Message Date
Gaetan Lepage
1a64636839 plugins: use mk{Neovim,Vim}Plugin's dependencies parameter 2025-04-28 02:04:13 +02:00
Matt Sturgeon
2ecd643311
plugins/treesitter: cleanup build-grammar deps impl 2025-04-12 04:34:16 +01:00
Matt Sturgeon
b2e8409b64
plugins/treesitter: fix treesitterPackage deprecation warning
`dependencies.treesitter` should be `dependencies.tree-sitter`.
2025-04-12 04:15:34 +01:00
Gaetan Lepage
8458a6c6f1 modules/dependencies: add gcc 2025-04-11 08:51:45 +10:00
Gaetan Lepage
81874690ce modules/dependencies: add nodejs 2025-04-11 08:51:45 +10:00
Gaetan Lepage
75f7ec4995 modules/dependencies: add tree-sitter 2025-04-11 08:51:45 +10:00
Austin Horstman
65d082069e
plugins/treesitter: injections support luaConfig strings 2025-01-06 15:46:42 -06:00
Matt Sturgeon
5e9a6c00a9
treewide: neovim-plugin -> plugins 2024-12-22 10:04:00 +00:00
svanr
9f32e25f3f plugins/treesitter: update docs for custom grammar installation 2024-12-20 21:53:47 -05:00
Gaetan Lepage
c179d47d3d plugins/*: use new mkSettingsRenamedOptionModules 2024-12-16 10:49:09 +00:00
Gaetan Lepage
ec24d496d5 treewide (cleaning): helpers.toLuaObject -> lib.nixvim.toLuaObject 2024-12-15 21:55:51 +00:00
Gaetan Lepage
e54833d2f7 treewide (cleaning): helpers.neovim-plugin -> lib.nixvim.neovim-plugin 2024-12-15 21:55:50 +00:00
Austin Horstman
c37031d71f
treewide: luaName -> moduleName
Jus to closer align with its usage.
2024-12-13 21:30:36 -06:00
Austin Horstman
a7012e7864
treewide: originalName -> packPathName
We used to only think of it as the plugin repo's name, but we have been
needing to use it for the name of the plugin's packpath location.
2024-12-13 21:29:00 -06:00
Austin Horstman
c0550513b3
plugins/treesitter: extraConfiguLua -> luaConfig 2024-12-13 08:06:01 -06:00
Matt Sturgeon
de99f2938f
lib/{vim,neovim}-plugin: installPackage -> packageDecorator
Replace `mkNeovimPlugin`'s `installPackage` parameter with a new
internal module option: `packageDecorator`.

The option is a function that applies some transformation to
`cfg.package`'s value before it is installed.
2024-11-15 21:44:59 +00:00
Austin Horstman
61ec39764f
plugins/treesitter: update description
Added some more upfront details about the plugin's default settings.
Lots of people assume just enabling the plugin will give them the
behaviors of highlighting they expect, but the plugin does not default
this to be the case.
2024-10-09 09:44:22 -05:00
Matt Sturgeon
2f49c76a6a
lib: remove nixvimTypes alias 2024-09-27 08:31:07 +01:00
Quentin Boyer
d2f9e011d9 lib/neovim-plugin: Add lua configuration scoped to the plugin
This commit adds a `plugins.<name>.luaConfig` section controlling the
plugin specific configuration.

The section contains the internal `init` option, containing the plugin's
initialization code.

It also contains the public `pre` and `post` options, that allow to add
code before & after the `init` section

Finally, it contains the `final` option, being the concatenation of the
three previous options.
2024-09-22 16:15:27 +00:00
Austin Horstman
1d6afdbce0
plugins/treesitter: clarify nixGrammars and ensure_installed 2024-09-09 08:30:45 -05:00
Matt Sturgeon
4491ce4db2
plugins/treesitter: move to by-name 2024-09-09 11:50:39 +01:00