Commit graph

13 commits

Author SHA1 Message Date
Matt Sturgeon
5c52e8f9e4
plugins.lsp: alias onAttach to new lsp.onAttach
This simplifies the impl by doing global on-attach logic in a
`LspAttach` autocmd instead of adding lua lines to each server's
individual `on_attach` callback.

This is effectively a `mkAliasOptionModule` alias, other than the alias
only being applied when `plugins.lsp.enable`.
2025-05-07 14:51:45 +01:00
Gaetan Lepage
1a64636839 plugins: use mk{Neovim,Vim}Plugin's dependencies parameter 2025-04-28 02:04:13 +02:00
Gaetan Lepage
9bc29e6a9b modules/dependencies: add rust-analyzer 2025-04-11 08:51:45 +10:00
Gaetan Lepage
af6e4b0bad treewide: use mkAssertions wherever possible 2025-01-20 14:23:55 +01:00
Gaetan Lepage
2ec6218f87 treewide: use mkWarnings wherever possible 2025-01-20 12:25:33 +00:00
Matt Sturgeon
5e9a6c00a9
treewide: neovim-plugin -> plugins 2024-12-22 10:04:00 +00:00
Gaetan Lepage
e54833d2f7 treewide (cleaning): helpers.neovim-plugin -> lib.nixvim.neovim-plugin 2024-12-15 21:55:50 +00:00
Gaetan Lepage
cf7e026c8c mkNeovimPlugin: refactor lua code generation logic 2024-12-09 21:43:12 +00:00
Austin Horstman
876ca32451
plugins/rust-tools: remove with lib and helpers 2024-10-23 10:57:45 -05:00
Austin Horstman
0e59a28e95
plugins/rustaceanvim: fix deprecation 2024-10-08 14:48:37 -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
b1d0959bc9
plugins/languages: move to by-name 2024-09-09 14:34:18 -05:00