Commit Graph
202 Commits
Author SHA1 Message Date
Matt Sturgeon e26f044339 plugins/treesitter: use mkPackageOption 2024-09-04 21:56:48 +01:00
Matt Sturgeon 1fd4b6c739 plugins: migrate defaultPackage -> package
Migrate all users of `mkVimPlugin` and `mkNeovimPlugin` to use the new
`package` argument instead of the old `defaultPackage` argument.
2024-09-04 03:29:34 +01:00
Matt Sturgeon 18b7597e6c lib/neovim-plugin: drop config arg 2024-09-02 10:35:52 +01:00
Matt Sturgeon 2a054b039e lib/vim-plugin: drop config arg
Instead, access it via an imported module
2024-09-02 10:33:50 +01:00
refaelsh 2b30ee8703 plugins/nvim-orgmode: init 2024-09-01 15:51:46 -05:00
Austin Horstman bcda408e78 plugins/treesitter: revert add iconsPackage 2024-08-30 08:10:13 -05:00
Austin Horstman 4acf12c49d plugins/treesitter: add iconsPackage 2024-08-29 07:57:58 -05:00
Sascha Ohms 7e3ed24e52 plugins/lint: fix inconsistent description + examples 2024-08-26 21:07:13 +00:00
jacek szymanski bb8ecad13c plugins/nvim-jdtls: allow lua on nvim-jdtls.data
Make it possible to set data directory with lua, so it can be project-dependent.
2024-08-25 17:11:45 +02: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
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
Austin Horstman ec9e5c071a plugins/markview: remove unnecessary extraPlugin 2024-08-19 20:52:09 -05:00
Austin Horstman d9055abe20 plugins/markview: init 2024-08-12 01:06:53 -05: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
Stanislav Asunkin ce93f1724f plugins/treesitter: add workaround for performance.combinePlugins 2024-07-24 16:50:50 +02:00
Nathan Felber 6387299364 plugins/cmake-tools: init 2024-07-24 10:15:51 +01:00
Sandro 433d2f213c plugins/treesitter: disable folding by default 2024-07-15 11:58:08 +02:00
Matt Sturgeon 195978e627 plugins/treesitter: fix ensure_installed to allow "all"
The plugin allows passing either the string `"all"` or a list of languages.
2024-07-13 10:59:02 +01:00
Austin Horstman 89d74cdce1 plugins/treesitter: fix folding
opts getting wiped out by setting entire set as default instead of each
attribute
2024-07-12 12:13:27 -05:00
Austin Horstman 1385953299 plugins/treesitter: fix parser_install_dir default
The plugin's default is not compatible with nix, because it ends up in
the read-only /nix/store.

Set our default to the one used in their upcoming "1.0" version.
2024-07-12 10:48:21 -05:00
traxys 123c102a13 plugin/rustaceanvim: Handle rust-analyzer settings rename 2024-07-10 22:44:58 +02:00
traxys 023dc1c93a plugins/treesitter: Add a treesitter injection query for raw lua 2024-07-09 07:45:26 +00:00
traxys 29118021b3 plugins/treesitter: Adapt nixvim queries to 0.10 2024-07-09 07:45:26 +00:00
seth 0f76a8cdfc plugins/glow: init 2024-07-09 06:06:29 +00:00
Austin Horstman 1a644b8c2b plugins/treesitter: fix settingsExample 2024-07-08 14:23:42 -05:00
Austin Horstman 97fa47376b treewide: treesitter moduleConfig -> settings 2024-07-08 09:09:48 -05:00
Austin Horstman 435ef287ab plugins/treesitter: switch to mkNeovimPlugin 2024-07-08 09:09:48 -05:00
Matt Sturgeon 086873bed9 modules: refactor extraFiles
Moved `extraFiles` from `modules/output.nix` into its own file `modules/files.nix`.

Users should now assign text to a `text` attribute, however they could
also assign a file path to a `source` attribute instead.

The old method of directly assigning a string still works, and is
coerced to the new type along with a deprecation warning.
2024-07-07 16:42:47 +01:00
traxys 954876bef7 plugins/lsp/rust-analyzer: Use the newly generated options 2024-07-05 13:34:44 +02:00
Gaetan Lepage 6252a41fc6 plugins/preview: init 2024-07-02 15:38:28 +02:00
Gaetan Lepage 18bea9bad6 plugins/markdown-preview: move source in dedicated markdown sub-folder 2024-07-02 15:33:00 +02:00
Matt Sturgeon 1391a64cf6 plugins/otter: switch to nvim-cmp association
Removes the addCmpSources option.
2024-06-30 18:22:59 +01:00
PerchunPak cd479ec0ef plugins/otter: init 2024-06-28 22:39:51 +01:00
Matt Sturgeon 6f408f2bd0 plugins/languages: normalize plugin defaults 2024-06-21 08:49:03 +01:00
Gaetan Lepage f5de31debc pugins/lsp/rust-analyzer: temporarily remove rust-analyzer settings options declarations 2024-06-18 11:38:52 +02:00
Matt Sturgeon 5755ff0958 plugins/sniprun: switch to mkNeovimPlugin 2024-06-17 21:27:17 +01:00
Gaetan Lepage b822078ec1 plugins/ts-autotag: switch to mkNeovimPlugin 2024-06-17 11:02:51 +02:00
Matt Sturgeon 130a66bce7 plugins/ltex-extra: minor options cleanup
- Remove stringified default values
- Use an enum for log levels
- Remove adding package (done by mkNeovimPlugin)
2024-06-17 08:51:33 +01:00
svl cc9023fb1d plugins/languages/lint: allow irregular linters
setting `linters.markdownlint-cli.cmd` would genenrate

before:
`linters.markdownlint-cli.cmd` resulting in an error.

after:
`linters["markdownlint-cli"]["cmd"]`
2024-06-12 16:25:02 +02:00
Gaetan Lepage 7a2d065cce misc: ensure all options have a description 2024-06-11 11:34:10 +02:00
Petr Portnov | PROgrm_JARvis afc98b291d fix(hmts): correct error message on no treesitter 2024-06-04 16:48:13 +03:00
Matt Sturgeon d136c08f3a plugins: normalise null plugin-defaults
Replaced all instances of `"null"` with `null`, when passing
plugin-defaults to `defaultNullOpts` functions.
2024-06-02 03:18:10 +01:00
Gaetan Lepage 5c8f85dd27 plugins/debugprint: remove deprecated ignore_treesitter option 2024-05-30 14:10:06 +02:00
Gaetan Lepage 5b09c711e2 plugins/rustaceanvim: switch to mkNeovimPlugin 2024-05-21 00:12:26 +02:00
Wester de Cocq 169d7f4dc0 plugins/rustaceanvim: fix onAttach 2024-05-20 10:08:18 +02:00
Gaetan Lepage 88ade1dfaa plugins/rustaceanvim: move source files to languages/rust subfolder 2024-05-19 15:39:51 +02:00
Gaetan Lepage 0e5ed7e782 plugins/rust-tools: move source files to languages/rust subfolder 2024-05-19 15:39:51 +02:00
Gaetan Lepage 7c4fe30f81 lib/options: introduce new mkPackageOption for dependencies 2024-05-17 22:15:47 +02:00