Commit Graph
979 Commits
Author SHA1 Message Date
Matt Sturgeon 8a462dc957 plugins/lsp: fix inlayHints description
`mkEnableOption` adds an extra `.`, just use `mkOption` and be explicit.
2024-06-09 09:35:56 +01:00
Matt Sturgeon 4a22c35e6d plugins/lsp: add inlay-hint option
`onAttach` code is based on [this comment](https://github.com/lvimuser/lsp-inlayhints.nvim/issues/46#issuecomment-1949916683).

Documented upstream at [`:h lsp-inlay_hint`](https://neovim.io/doc/user/lsp.html#lsp-inlay_hint)
2024-06-09 08:55:53 +01:00
Gaetan LepageandGaétan Lepage 70088f6f89 plugins/wakatime: init 2024-06-08 22:38:46 +02:00
Cezary DrożakandMatt Sturgeon e8a05261d5 plugins/luasnip: add SnipMate loader 2024-06-08 20:56:17 +01:00
Sizhe Zhaoandtraxys dedb1f8593 plugins/nvim-cmp: don't specify default twice 2024-06-08 12:29:25 +02:00
Jake HamiltonandMatt Sturgeon 552e8b0a85 plugins/dashboard: add additional examples 2024-06-07 23:39:28 +01:00
Matt Sturgeon 2ce578e35f docs/lsp: Show LSP server homepage URLs
Using `meta.nixvimInfo`
2024-06-07 22:22:56 +01:00
Matt Sturgeon 94a452074f plugins/tmux-navigator: add keymaps option
Enable users to more easily create keymaps for tmux-navigator's
directional motions.
2024-06-07 15:42:54 +01:00
Matt Sturgeon 4634c3781b plugins/tmux-navigator: remove old deprecations 2024-06-07 15:42:54 +01:00
Matt Sturgeon 302262304e lib/keymaps: refactor mkMapOptionSubmodule again
Allow passing in `key` and `action` as either bool or an attrset.

If `false`, the option is omitted. If `true` or an attrset, the option is included.
If an attrset is used, it will update the default `mkOption` args.
This is useful for overriding `type` or adding an `example`.
2024-06-07 15:42:54 +01:00
Gaetan LepageandGaétan Lepage 74a6731226 plugins/schemastore: init 2024-06-06 10:53:41 +02:00
Matt Sturgeon f530700ccd plugins/dashboard: switch to mkNeovimPlugin + update options
Note: the plugin has had a breaking change since the last time we
checked.
2024-06-05 18:13:31 +01:00
Beaudan BrownandMatt Sturgeon cfff48c267 plugins/lsp: add r_language_server 2024-06-04 18:34:23 +01:00
Petr Portnov | PROgrm_JARvisandGitHub afc98b291d fix(hmts): correct error message on no treesitter 2024-06-04 16:48:13 +03:00
Matt Sturgeon b7a8b03190 plugins/lsp: normalise kebab-case-names 2024-06-03 20:56:37 +01:00
Matt Sturgeon 0a24327632 plugins/lsp: automatically add serverName alias
A warning will be printed if the `serverName` alias is used, which may
help new users to figure out the correct `plugins.lsp.servers.*` name.
2024-06-03 20:56:37 +01:00
Matt Sturgeon 61fa26c9e9 plugins/lsp: remove installLanguageServer assertion 2024-06-03 18:10:28 +01:00
Gaetan LepageandGaétan Lepage 4b05fde873 plugins/lsp/efmls-configs: simplify implementation 2024-06-03 17:16:46 +02:00
Gaetan LepageandGaétan Lepage dafada6d25 plugins/lsp/efmls-configs: cosmetic-only refactoring 2024-06-03 09:40:33 +02:00
34d56c712e plugins/barbar: add keymaps.* options for missing actions
Co-authored-by: Ismaïl Senhaji <134528+iSma@users.noreply.github.com>
2024-06-03 00:25:46 +02:00
Gaetan LepageandGaétan Lepage 1c270521ad plugins/barbar: switch to mkNeovimPlugin + update options 2024-06-03 00:25:46 +02:00
Gaetan LepageandGaétan Lepage 513b3c76e2 plugins/lsp/nil_ls: refactor options 2024-06-02 23:50:43 +02: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 LepageandGaétan Lepage e58380adcd plugins/lsp/ltex: refactoring of the settings options 2024-06-01 22:44:52 +02:00
Gaetan LepageandGaétan Lepage 9a9d6c69d8 plugins/copilot-chat: init 2024-06-01 21:11:29 +02:00
Gaetan LepageandGaétan Lepage 7c3ae8c718 plugins/lsp/lua-ls: refactor settings options 2024-06-01 19:06:02 +02:00
Gaetan LepageandGaétan Lepage adf7bb1301 plugins/lsp/lua-ls: remove useless if/else for default package 2024-06-01 19:06:02 +02:00
Matt Sturgeon df3aa86713 lib/keymap-helpers: refactor mkMapOptionSubmodule
Make the `key` and `action` options optional, and allow configuring
whether `action` can be a raw type.
2024-06-01 16:19:35 +01:00
Gaetan LepageandGaétan Lepage 1bbd58b6b2 plugins/lsp: add ruby-lsp 2024-05-31 22:40:43 +02:00
Gaetan LepageandGaétan Lepage fa43854e02 plugins/edgy: init 2024-05-31 11:43:19 +02:00
svlandGaétan Lepage 4e7ff2b427 plugins/git/octo: init 2024-05-31 10:42:46 +02:00
Gaetan LepageandGaétan Lepage da9bd1f2e8 plugins/efmls-configs: add typstyle formatter 2024-05-30 16:56:47 +02:00
Matt Sturgeon ff1ab1700c lib/options: mkEnum quote default if string
As there's only a handful of call-sites to fix, ensure all `mkEnum`
defaults are passed in as the correct type (tree wide) and change
`mkEnum` to now correctly render string-type defaults "quoted" (like
`mkString` does).
2024-05-30 14:27:37 +01:00
benandGaétan Lepage 993deb227e plugins/lsp-status: init 2024-05-30 14:23:23 +02:00
Gaetan LepageandGaétan Lepage 5c8f85dd27 plugins/debugprint: remove deprecated ignore_treesitter option 2024-05-30 14:10:06 +02:00
Nate SmithandMatt Sturgeon 2031a09b36 colorschemes/modus: init 2024-05-29 20:52:07 +01:00
Gaetan LepageandGaétan Lepage cf037458dd colorschemes/nightfox: add flavor option 2024-05-29 07:41:21 +02:00
Matt Sturgeon 56d39f54fe plugins/telescope: remove redundant keymapsSilent option 2024-05-28 20:40:45 +01:00
Matt Sturgeon bc0db2751c plugins/telescope: support non-builtin keymaps
Use the `:Telescope` command instead of relying directly on
`require("telescope.builtin")`.
2024-05-28 20:40:29 +01:00
Gaetan LepageandGaétan Lepage deafcf44de colorschemes/nightfox: init 2024-05-28 21:01:19 +02:00
Gaetan LepageandGaétan Lepage a2afa56344 plugins/git-conflict: init 2024-05-27 20:19:30 +02:00
Gaetan LepageandGaétan Lepage 4175fac0ea keymaps: remove remaining usages of deprecated lua option 2024-05-27 14:57:40 +02:00
Gaetan LepageandGaétan Lepage 0d745bdacf plugins/trim: init 2024-05-27 13:26:35 +02:00
Austin HorstmanandGaétan Lepage ba293d3640 plugins/lsp/language-servers/nil_ls: improve settings options 2024-05-26 23:33:17 +02:00
Matt Sturgeon beb86eec7c plugins/refactoring: add telescope option
refactoring.nvim comes with a telescope picker that can be used via

```lua
require('telescope').extensions.refactoring.refactors
```
2024-05-26 10:56:30 +01:00
Matt Sturgeon 61cc6e9f22 plugins/refactoring: add missing option show_success_message 2024-05-26 10:56:29 +01:00
Matt Sturgeon e3b4315903 plugins/refactoring: switch to mkNeovimPlugin 2024-05-26 10:56:29 +01:00
Gaetan LepageandMatt Sturgeon 546b4b029d plugins/jsonls: add settings option 2024-05-25 22:26:50 +01:00
Gaetan LepageandMatt Sturgeon f3e2a064a1 plugins/yamlls: add settings option 2024-05-25 22:26:50 +01:00
Matt Sturgeon 2494e0af08 plugins/telescope: make enabledExtensions public
Allow users to add telescope extensions we don't support yet.
2024-05-25 20:37:51 +01:00