Commit graph

16 commits

Author SHA1 Message Date
Gaetan Lepage
ae78face8d
treewide: format with latest nixfmt 2024-12-06 15:25:27 +00:00
Matt Sturgeon
7b94afceaf
plugins: cleanup most extraConfig args
- Remove `cfg` where it is unused.
- Use `opts` where necessary.
2024-11-20 20:55:16 +00:00
Matt Sturgeon
63cfc84abe
lib/modules: add applyExtraConfig
Used for
- mkVimPlugin: extraConfig
- mkNeovimPlugin: extraConfig
- mkLsp: extraConfig
- mkLsp: settings
- mkExtension (telecsope): extraConfig
2024-11-20 20:55:16 +00:00
Matt Sturgeon
929bb0cd1c
plugins/telescope: refactor mkExtension
Allow importing `mkExtension` without needing to supply any
dependencies.

All dependencies can be accessed via module args anyway.
2024-11-19 17:01:19 +00:00
Shahar "Dawn" Or
81df7156ae plugins/telescope: enabledExtensions doc refer to extraPlugins
Instead of referring to seemingly incorrect `extraPackages`
2024-10-24 10:22:13 +07:00
Tobias Koller
717e7060fa
plugins/telescope/live-greps-args: fix to_fuzzy_refine example
Fix the `to_fuzzy_refine` key binding example.

The `to_fuzzy_refine` function in the example is part of Telescope,
not the `telescope-live-grep-args` extension.
2024-10-16 16:52:54 +01:00
Austin Horstman
08cac4a5c0
plugins/cmp: remove helpers 2024-10-07 12:00:19 -05:00
Matt Sturgeon
2cda50d530
plugins: remove redundant mkRaw apply functions
`strLua` now does this coercion internally.
2024-09-29 16:57:16 +01:00
Austin Horstman
b473bdc5ae
treewide: consolidate iconsPackage removal and warning 2024-09-22 13:54:31 -05:00
Austin Horstman
38a183564b
plugins/telescope: iconsPackage -> icons provider options 2024-09-22 13:49:43 -05: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
9307b201a3
plugins/telescope-live-grep-args: init 2024-09-18 11:22:11 -05:00
Austin Horstman
11b9de7264
plugins/telescope-manix: fix manixPackage usage 2024-09-18 10:09:28 -05:00
Austin Horstman
650e204c07
plugins/telescope-manix: init 2024-09-17 22:40:37 -05:00
Austin Horstman
873d7b51a7
plugins/telescope: add batPackage 2024-09-14 19:23:48 -05:00
Matt Sturgeon
6debe9333f
plugins/telescope: move to by-name 2024-09-09 11:50:41 +01:00