Folke Lemaitre
fe552853f5
fix(treesitter): refactored treesitter code and fixed nvim-treesitter-textobjects
2024-05-18 21:53:26 +02:00
Folke Lemaitre
4bc9389bb5
refactor(snippets): refactored snippet code
2024-05-18 21:53:26 +02:00
Iordanis Petkakis
eb6c9fb578
fix(mini.starter): changes based on echasnovski's recommendation ( #3223 )
2024-05-18 18:14:35 +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
c29213416b
feat(extras): added recommended detectors for all languages
2024-05-18 14:39:20 +02:00
Folke Lemaitre
03ea7f6f98
feat(root): added support for *.xxx
root patterns
2024-05-18 14:38:53 +02:00
Folke Lemaitre
ef3bd3bd02
feat(extras): tags some extras as recommended
2024-05-18 14:12:26 +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
434883632c
perf(yanky): switch to shada backend. It seems much faster than sqlite
2024-05-18 12:46:03 +02:00
Folke Lemaitre
180d9516fd
fix(extras): remove treesitter-rewrite extra for now
2024-05-18 12:10:32 +02:00
Folke Lemaitre
c653c4a9a5
perf(comments): vim.schedule
ts-context-commentstring integration
2024-05-18 12:09:07 +02:00
Folke Lemaitre
1d23c98da1
fix(comments): better way of using ts-context-commentstring with native comments
2024-05-18 12:05:19 +02:00
Folke Lemaitre
72abb893ac
fix(bufferline): force update bufferline after BufDelete
. Closes #3197
2024-05-18 11:32:50 +02:00
Folke Lemaitre
3a193d3aa8
fix(indent-blankline): temp fix for tbl_flatten
on 0.9.x
2024-05-18 11:28:06 +02:00
Folke Lemaitre
08925421e8
fix(trouble-v3): add neovim version check
2024-05-18 11:28:06 +02:00
Stefan Boca
9c212d655a
fix(leap): add label to renamed surround mappings key group ( #3211 )
2024-05-18 10:11:05 +02:00
Iordanis Petkakis
dc66887b57
fix(mini.starter): buf_id in refresh() is not an identifier of valid … ( #3209 )
...
* fix(mini.starter): buf_id in refresh() is not an identifier of valid Starter buffer
Fixes #3207 .
* fix(mini.starter): just do `do VimResized` for simpler approach
2024-05-18 10:07:33 +02:00
Folke Lemaitre
9176a6bc22
docs: remove mention of treesitter-rewrite from NEWS.md
2024-05-17 22:45:20 +02:00
Folke Lemaitre
87bb766123
fix(treesitter): disable treesitter-rewrite extra for now. not ready yet
2024-05-17 22:38:59 +02:00
EJ
39bec71ce9
fix(refactoring): add label to refactoring key group ( #3201 )
2024-05-17 20:08:28 +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](735f5905f8/lua/lazyvim/plugins/lsp/init.lua (L153)
),
we pass a `bufnr` which sets the `inlay_hints` in the `bufstate` (see
[here](42aa69b076/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](42aa69b076/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
Folke Lemaitre
2e1c945f61
fix(bufferline): correctly configure bufferline to use the new bufremove util
2024-05-17 14:27:00 +02:00
Folke Lemaitre
289c2f81c4
perf(coding): dont load vim.snippet
early
2024-05-17 14:27:00 +02:00
Iordanis Petkakis
b1ea356e6c
fix(util.lsp): add desc
for keymaps reference ( #3193 )
2024-05-17 11:19:34 +02:00
Folke Lemaitre
779de263f1
feat(util): mini.bufremove
is no longer needed
2024-05-17 10:10:31 +02:00
Folke Lemaitre
87493af237
fix(lsp): dont try to highlight refs for deleted buffers
2024-05-17 10:10:31 +02:00
Folke Lemaitre
f8de965d3e
feat(options): new option to disable deprecation warnings. warnings will be hidden bydefault
2024-05-17 09:19:28 +02:00
Folke Lemaitre
cc99b219de
feat(lsp): document highlights now use native lsp. vim-illuminate
is available as an extra
2024-05-17 09:19:28 +02:00
Folke Lemaitre
960ec8079b
fix: deprecation warning on diagnostic.is_disabled
2024-05-17 09:19:28 +02:00
Johnson Hu
ec673a83ff
fix(treesitter-rewrite): add missed local Config ( #3188 )
2024-05-17 08:52:25 +02:00
Iordanis Petkakis
639dfce010
fix(treesitter-rewrite): show error in Extras only when enabled ( #3178 )
2024-05-16 22:28:25 +02:00
Folke Lemaitre
14872fa816
fix(util): get opts from parsing specs instead of plugins
2024-05-16 22:14:57 +02:00
Folke Lemaitre
76f9dbb40c
refactor: use LazyVim.opts
2024-05-16 22:11:55 +02:00
Folke Lemaitre
3b74ef793f
feat(keymaps): added leader-uI to open InspectTree
2024-05-16 21:25:51 +02:00
Folke Lemaitre
b739eb3503
fix(treesitter-rewrite): disable vim-illuminate
2024-05-16 21:25:51 +02:00
Folke Lemaitre
960e958548
feat(lsp): enable inlay hints by default on Neovim 0.10
2024-05-16 21:25:51 +02:00
Folke Lemaitre
20081460b6
feat(extras): added extra for the nvim-treesitter
rewrite. Some plugins are not compatible and will be disabled.
2024-05-16 21:25:51 +02:00
Folke Lemaitre
66dc9c09d6
feat(util)!: move vim-startuptime
to an extra
2024-05-16 21:25:51 +02:00
Folke Lemaitre
4f4911ff95
feat(coding)!: move mini.ai
to an extra
2024-05-16 21:25:51 +02:00
Folke Lemaitre
e37a699096
feat(mini.surround)!: move mini.surround
to an extra
2024-05-16 21:25:51 +02:00
Folke Lemaitre
69e6daae2c
feat(ui)!: move mini.indentscope
to an extra
2024-05-16 21:25:51 +02:00
Folke Lemaitre
03704e2299
feat(ui)!: moved treesitter-context to an extra. No longer a core plugin
2024-05-16 21:25:51 +02:00
Folke Lemaitre
9839f10013
refactor: comments code
2024-05-16 21:25:51 +02:00
Folke Lemaitre
3c4ebd522e
feat(coding)!: native snippets are now the default on Neovim 0.10. Install the luasnip extra to get luasnip back
2024-05-16 21:25:51 +02:00
Folke Lemaitre
d999be7401
feat(coding)!: use native comments on 0.10, with support for ts_context_commentstring
2024-05-16 21:25:51 +02:00
Folke Lemaitre
f02507b159
feat(util): set_upvalue
2024-05-16 21:25:51 +02:00
Folke Lemaitre
9fe8b15928
fix(health): add warning when not using 0.10.0
2024-05-16 21:25:51 +02:00
Folke Lemaitre
8dae76c1fd
fix(dap): use jsonc support from plenary. Same as the code from neoconf. Fixes #3174
2024-05-16 16:44:01 +02:00