Austin Horstman
3e6e23a719
plugins/treesitter: match -> any-of pattern
...
No real performance gain but might be easier to maintain / understand.
2025-12-09 14:37:55 +00:00
Austin Horstman
507d48c3ae
plugins/treesitter: update injections to handle functions
...
Handle highlighting strings that occur after a function condition.
2025-12-09 14:37:55 +00:00
Gaetan Lepage
8441008175
treewide: remove old deprecation warnings
2025-12-07 23:34:03 +00:00
Gaetan Lepage
629f9d75f8
treewide: remove with lib;
2025-12-07 22:46:34 +00:00
Matt Sturgeon
dad19c1238
treewide: remove internal use of helpers module arg
2025-11-19 15:22:27 +00:00
saygo-png
29ec33e1a8
plugins: remove deprecations "after 24.11" or less
...
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-10-18 18:31:00 +00:00
saygo-png
250447e138
plugins/treesitter: fix folding option
...
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-10-18 18:25:38 +00:00
saygo-png
c4b27080a6
treewide: infer packPathName menial work
...
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-09-27 23:49:59 +00:00
Heitor Augusto
60f1c85237
plugins/treesitter: prevent mkRaw over-injection by removing injection.combined
2025-06-05 02:19:33 +00:00
Stanislav Asunkin
d063d0dd5e
plugins/treesitter: don't exclude nvim-treesitter from combining by default
...
Nvim-treesitter's parsers from nixpkgs don't include grammars anymore.
Originally it was added to standalonePlugins as workaround.
If the user has some other plugin containing treesitter queries, this
change can cause a build failure due to collisions. But since it is
easier to add the plugin to standalonePlugins compared to removing it, I
think this should be the default.
2025-06-02 20:15:06 +03:00
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