Commit graph

6 commits

Author SHA1 Message Date
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