Commit Graph
1137 Commits
Author SHA1 Message Date
Austin Horstman 8234ee85ea tests/plugins/lightline: fix test
Lightline has an internal list of colorschemes that are supported which
can be found at
https://github.com/itchyny/lightline.vim/blob/master/colorscheme.md
2024-08-24 14:49:36 -05:00
Austin Horstman 89b876dc0d plugins/conform-nvim: migrate to mkNeovimPlugin 2024-08-24 12:24:15 -05:00
Austin Horstman a1c7932bdb plugins/rustaceanvim: fix checkhealth error with neotest configuration
Rustaceanvim will throw an error if the configuration is sourced after
initialization. Our globals are defined at the top of the init.lua so
moving the settings to leverage the globals option and setting a
callback function as default to ensure we dont need to worry about
something initializing it before lspOnAttach is available.
2024-08-24 11:50:06 -05:00
Austin Horstman 1e74f3deab plugins/lsp: make lspOnAttach available globally
Allows plugins to utilize the global nixvim table to access the lsp on
attach function and prevent needing to filter attribute set or manage
the property explicitly in lua.
2024-08-24 11:50:06 -05:00
menixator b10ccc5250 docs: fix markdown issue with tree-sitter docs 2024-08-24 10:23:54 +05:00
menixator f4dd8924b1 docs: document how to install custom tree-sitter grammars 2024-08-24 08:11:25 +05:00
Matt Sturgeon 1181535e34 plugins/lsp/extensions: remove with lib + fix mkRaw reference
See https://github.com/nix-community/nixvim/pull/2053#issuecomment-2307961673
2024-08-24 01:55:49 +01:00
Austin Horstman 4c8d3559ac plugins/lightline: migrate to mkNeovimPlugin 2024-08-23 18:26:24 -05:00
Joe Fredette 9033f1cf2d plugins/neotest: fix missing toLuaObject definition 2024-08-23 11:50:21 -04:00
Austin Horstman 77cbd0313d plugins/colorschemes: remove with lib; 2024-08-22 10:19:27 -05:00
Austin Horstman fba168aba7 plugins/colorschemes: migrate helpers -> lib.nixvim 2024-08-22 09:57:31 -05:00
Austin Horstman b470800240 plugins/bufferlines/barbar: migrate helpers -> lib.nixvim 2024-08-22 09:43:47 -05:00
Austin Horstman 83c2844bec plugins/telescope: migrate helpers -> lib.nixvim 2024-08-22 08:10:31 -05:00
Austin Horstman d7b506efdd plugins/neotest: migrate helpers -> lib.nixvim 2024-08-22 08:04:45 -05:00
Austin Horstman cb413995e1 plugins/todo-comments: migrate keymaps to mkMapOptionSubmodule 2024-08-19 23:18:48 -05:00
Austin Horstman f62d77d3fa plugins/lsp: python3Packages.ruff-lsp -> ruff-lsp fallback 2024-08-19 20:52:09 -05:00
Austin Horstman ec9e5c071a plugins/markview: remove unnecessary extraPlugin 2024-08-19 20:52:09 -05:00
Austin Horstman 94fb980f35 plugins/yazi: remove unnecessary extraPlugin 2024-08-19 20:42:00 -05:00
Gaetan Lepage b406575176 plugins/lsp/astro: remove unnecessary alternative package path
https://github.com/NixOS/nixpkgs/pull/333736
2024-08-19 20:42:00 -05:00
Matt Sturgeon 7fb1f9dd9d modules/keymap: improve lua deprecation
- Replace nullable lua option with a no-default option.
- Made it so the deprecated option is only declared when `lua = true` is passed.
- Replace `normalizeMappings` with a `removeDeprecatedMapAttrs` helper.
- Added warnings for all options that historically had `lua` support.
2024-08-18 22:11:11 +01:00
Austin Horstman 379ae77a76 plugins/todo-comments: migrate to mkNeovimPlugin 2024-08-18 14:25:00 -05:00
Austin Horstman ebd2182b44 plugins/which-key: updated spec examples and tests
Improve documentation for supported configurations
2024-08-15 15:47:25 -05:00
Austin Horstman cb398ce4ba plugins/bufferline: migrate to mkNeovimPlugin
Also resolves https://github.com/nix-community/nixvim/issues/1890 by
automatically setting up `diagnostics.update_in_insert` for the user.
2024-08-14 11:20:17 +00:00
Austin Horstman e3ec1c4a46 plugins/which-key: move listOfLen to lib.types
Allows us to require a list to have a certain length for plugins that
request it.
2024-08-14 11:20:17 +00:00
Quentin Boyer ad704ddba7 generated,rust-analyzer: Handle objects with defined properties
They are implemented as submodules instead of an attrset of anything
2024-08-12 18:53:57 +02:00
Austin Horstman d9055abe20 plugins/markview: init 2024-08-12 01:06:53 -05:00
Gaetan Lepage f13bdef0bc plugins/lsp/astro: fix package attribute path 2024-08-10 22:52:13 +02:00
Austin Horstman 4852f94f8c plugins/yazi: init 2024-08-09 14:02:25 -05:00
Matt Sturgeon c46bd820ad plugins/firenvim: fix aliasing settings into globals
Needed to use `options.*.settings` instead of `config.*.settings`.

I was concerned that the test-case didn't pick up on this, so I added an
new test case with some basic assertions.
2024-08-09 09:28:38 +01:00
alxdb fab51138b7 plugins/lsp/bufls: init 2024-08-08 23:29:39 +01:00
Austin Horstman 1adbf11900 plugins/which-key: migrate to mkNeovimPlugin 2024-08-08 16:17:09 -05:00
Haseeb Majid 1b135dedc4 plugins/neotest: add neotest-golang 2024-08-08 14:20:15 +01:00
psfloyd 78abafe280 plugins/lz-n: init 2024-08-08 06:18:43 +00:00
Gaetan Lepage 593f5215cb plugins/firenvim: init 2024-08-07 23:04:09 +02:00
psfloyd c9a855fe68 plugins/nvim-snippets: init 2024-08-06 23:04:57 -03:00
Gaetan Lepage 5922a48008 plugins/luasnip: add filetypeExtend option 2024-08-05 11:28:00 +00:00
Émile Nadeau c0a8bfcc52 Make url in doc link 2024-08-05 11:03:45 +00:00
Enno Richter 4d6d3bd722 plugins/spectre: set freeformType for engine options 2024-08-05 06:06:34 +00:00
Gaetan Lepage 25da1220ad plugins/luasnip: rename extraConfig to settings (more consistent with RFC-42) 2024-08-05 05:49:37 +00:00
Gaetan Lepage 6f7cf23b22 plugins/gitblame: completely drop helpers 2024-08-04 09:26:20 +00:00
Gaetan Lepage 96d0a2e390 plugins/gitblame: switch to mkNeovimPlugin 2024-08-03 16:21:55 +02:00
Gaetan Lepage 1e761b11bc generated: Update
- Updated none-ls.nix
- Updated rust-analyzer.nix
2024-07-31 17:05:50 +02:00
Matt Sturgeon a8eceddd07 plugins/lsp/efmls: remove unused tool declarations 2024-07-31 11:40:07 +01:00
Ughur Alakbarov ee89f7437b typo 2024-07-30 18:26:30 +02:00
Matt Sturgeon 2089eb407d plugins/which-key: deprecate v2 registrations
These have been replaced in v3 with a new spec.

As we will soon migrate which-key to `settings` options, I've named the
new option `settings.spec` so that we do not need to "rename" it again
soon.

This commit **does not** actually add a freeform settings option.
2024-07-29 11:16:49 +01:00
Thomas Stachl 2415edc0cb plugins/lsp/nextls: init 2024-07-29 07:47:28 +02:00
Noah Thornton 162ae6354b plugins/lsp/jdtls: add Eclipse JDT language server for Java
This adds the Eclipse JDT language server for Java.
2024-07-26 10:57:25 -07:00
Austin Horstman 10e5066a9a plugins/otter: add warning if treesitter highlighting not set 2024-07-25 16:01:43 -05:00
Austin Horstman 91130385ed plugins/treesitter: support unsetting keymaps 2024-07-25 15:12:52 -05:00
Gaetan Lepage ac50052a49 plugins/lsp/pylsp: remove useless dependency for pylsp-rope 2024-07-25 17:04:22 +00:00