Commit Graph
310 Commits
Author SHA1 Message Date
Folke Lemaitre a6df15a63f fix(util): make sure mason is loaded when getting package paths 2024-06-01 08:48:29 +02:00
Folke Lemaitre 276b50e389 style: docs for LazyVim.extend 2024-06-01 08:42:00 +02:00
Folke Lemaitre 683aaeb75b feat(astro): added support for ts-plugin, but won't work till mason-registry PR is merged. See #3364 2024-06-01 08:33:24 +02:00
Folke Lemaitre 9d999fa210 refactor: refactored mason/typescript/vue support 2024-06-01 08:31:10 +02:00
Folke Lemaitre 9f2cc30246 fix(lsp): better way of extending deeply nested lists. Fixes #3398 2024-05-31 13:52:43 +02:00
Iordanis Petkakis 060f56d6d4 fix(extras): underline = false for setting diagnostics (#3379)
Similar to https://github.com/folke/lazy.nvim/commit/ea7b9c3c3fd9026e1a5ae27950585df9a42ccd5b#
I only noticed this, because in my main config I have some Extras not
managed by `LazyExtras`.
2024-05-30 16:08:34 +02:00
Folke Lemaitre 95d055dcf7 feat: trouble v3 2024-05-30 14:41:13 +02:00
Folke Lemaitre c4b7505969 fix(extras): show recommended languages above enabled plugins 2024-05-30 11:17:23 +02:00
Folke Lemaitre 7414e84af9 fix(root): escape glob expressions 2024-05-30 11:17:23 +02:00
Folke Lemaitre 3ace8277e5 feat(keymaps): new keymap to toggle mazimize of current window leader-m or leader-wm 2024-05-29 22:35:40 +02:00
Folke Lemaitre f6bcf6f12c fix(lsp): fix ts/deno both attaching 2024-05-29 15:39:17 +02:00
Folke Lemaitre b949dba489 feat(lsp): added leader-cR to rename the current file and to lsp rename operations 2024-05-29 14:45:55 +02:00
Folke Lemaitre 4bbeb37a18 fix(lsp): fix LazyVim's on_file_rename to work according to the lsp spec 2024-05-29 14:45:55 +02:00
Folke Lemaitre 1b86d7b2ad fix(snippets): fix snippets with multiple placeholders for the same tabstop 2024-05-28 19:32:21 +02:00
Folke Lemaitre eb0da3c92f feat(snippets): try to use the snippet parse to get a preview 2024-05-28 19:31:59 +02:00
Folke Lemaitre 425dadef72 fix(snippets): show actual error for failed snippet 2024-05-28 19:31:22 +02:00
Folke Lemaitre cf4374867d feat(snippets): re-number tabstops for invalid snippets 2024-05-28 16:12:35 +02:00
Folke Lemaitre 0a63734b78 fix(lsp): double check for documentHighlight. See #3246 2024-05-27 18:22:44 +02:00
Folke Lemaitre eb1c04bd31 fix(terminal): make gf behave. Fixes #3335 2024-05-27 17:38:51 +02:00
Folke Lemaitre dbed614655 fix(laygit): normalize paths. Fixes #3327 2024-05-27 05:35:47 +02:00
Folke Lemaitre d23e8572e8 fix(laygit): use correct .git root for git blame 2024-05-27 07:13:43 +02:00
Folke Lemaitre 53911748dd fix(snippet): always use top-level snippet session. Fixes #3199 2024-05-26 18:51:14 +02:00
Folke Lemaitre 3a30070a4c feat: lazyrc files are now a lazy.nvim feature 2024-05-26 16:49:48 +02:00
Folke Lemaitre b3373f3428 fix(lsp): added a-n, a-p for document highlights and cycling. Closes #3320 2024-05-26 16:03:13 +02:00
Lawrence Ho 07a137199c fix(lsp): properly get buffer for dynamic capabilities (#3315) 2024-05-26 10:11:12 +02:00
Folke Lemaitre 10ed3082a4 fix(lsp): use proper buffer for dynamic capabilities. Fixes #3246 2024-05-23 17:39:23 +02:00
Folke Lemaitre 8c94842b4a fix(lsp): sometimes lsp client is not fully initialized and doesnt yet have client.supports_method on 0.9.5. Fixes #3263 2024-05-21 18:23:10 +02:00
Folke Lemaitre 3db94e44a0 refactor(lsp): refactored again :) 2024-05-20 20:25:55 +02:00
Folke Lemaitre 0006fe7a3c refactor(cmp): snippet_resolve => snippet_preview 2024-05-20 20:05:02 +02:00
Folke Lemaitre ac092289f5 refactor(lsp): prevent autocmd leaks 2024-05-20 00:56:25 +02:00
Folke Lemaitre 69751cf417 refactor(lsp): refactored on_supports_method 2024-05-20 00:35:52 +02:00
Folke Lemaitre 20e002f9f0 feat(lsp): properly update certain Neovim functionlity based on dynamic capabilities. See #3244. Fixes #3246 2024-05-20 00:08:05 +02:00
Folke Lemaitre 97862f4259 feat(cmp): better error handling and automatic fixing of snippets that fail to parse with native Neovim snippets 2024-05-19 22:48:01 +02:00
Folke Lemaitre 7d72436193 feat(cmp): resolve placeholders in generated missing snippet documentation 2024-05-19 22:47:13 +02:00
Folke Lemaitre 2961162eba fix(cmp): use better cmp.confirm 2024-05-19 22:46:09 +02:00
Folke Lemaitre 24a2a9fb0b feat(cmp): add missing documentation to snippets when needed 2024-05-19 21:47:42 +02:00
Folke Lemaitre 39f3ebcadf feat(cmp): move cmp autobracket support to util class 2024-05-19 21:46:54 +02:00
Felipe Cury 4208a09df8 fix(git): off-by-one issue in lazygit blame line (#3230) 2024-05-19 09:30:03 +02:00
Folke Lemaitre 3a4672de3f fix(util): fixup 2024-05-18 23:54:17 +02:00
Folke Lemaitre 673975ebbe feat(cmp): create undo point right before confirming a completion 2024-05-18 23:28:38 +02:00
Amaan Qureshi 96aa4b8877 fix(plugin): typo (#3225) 2024-05-18 22:31:13 +02:00
Folke Lemaitre d8644c4715 feat(mini.ai): mini.ai is back in core with some improved features. Removing it was a mistake. 2024-05-18 21:53:26 +02:00
Folke Lemaitre 4105c0ad3a feat(util): added Util.is_loaded 2024-05-18 21:53:26 +02:00
Folke Lemaitre a4d83524a7 fix(lsp): move next/prev reference keymaps to lsp keymaps. See #3220 2024-05-18 15:46:35 +02:00
Folke Lemaitre d514e2fa93 feat(extras): added trouble-v3 and mini-hipatterns to recommended 2024-05-18 14:47:31 +02:00
Folke Lemaitre 03ea7f6f98 feat(root): added support for *.xxx root patterns 2024-05-18 14:38:53 +02:00
Folke Lemaitre 16eb3d9473 feat(extras): added a recommended plugin/language section to :LazyExtras 2024-05-18 14:11:50 +02:00
Folke Lemaitre 87bb766123 fix(treesitter): disable treesitter-rewrite extra for now. not ready yet 2024-05-17 22:38:59 +02:00
Iordanis Petkakis 23374f160a fix(util.toggle): correctly toggle inlay_hints (#3202)
`is_enabled` also accepts a `filter` and when we initially toggle
`inlay_hints` on
[here](https://github.com/LazyVim/LazyVim/blob/735f5905f85fec0dd5210f2c835597caa5a409fb/lua/lazyvim/plugins/lsp/init.lua#L153),
we pass a `bufnr` which sets the `inlay_hints` in the `bufstate` (see
[here](https://github.com/neovim/neovim/blob/42aa69b076cb338e20b5b4656771f1873e8930d8/runtime/lua/vim/lsp/inlay_hint.lua#L407-L432)),
but when we call `is_enabled` without a filter table the returned result
if from the `globalstate` (see
  [here](https://github.com/neovim/neovim/blob/42aa69b076cb338e20b5b4656771f1873e8930d8/runtime/lua/vim/lsp/inlay_hint.lua#L376-L388)).
2024-05-17 20:06:17 +02:00
Folke Lemaitre 19674e8047 fix(util): use bdelete for buf remove 2024-05-17 15:49:50 +02:00