Commit graph

1976 commits

Author SHA1 Message Date
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
Folke Lemaitre
2391ac0420
refactor(options): refactored options 2024-05-16 16:37:26 +02:00
Avinash Thakur
183d6eea60
fix(dap): add debugger to filetypes mapping for launch.json (#3165) 2024-05-16 11:57:56 +02:00
Folke Lemaitre
6e7ba50141
fix(cmp): never auto bracket for snippets and correct prev char check. Fixes #2949 2024-05-16 08:07:36 +02:00
Rubin Bhandari
44d51e5a65
refactor(options): prefer opt in place of vim.opt (#3167) 2024-05-16 07:59:19 +02:00
Folke Lemaitre
f25ac504b8
perf(yanky): remove performance optim for sqlite since it has been merged upstream 2024-05-15 18:09:55 +02:00
Folke Lemaitre
c70a78e631
fix(cmp): dont add autobrackets if prev char is a bracket. Closes #2949 2024-05-15 16:23:42 +02:00
Phúc H. Lê Khắc
fc5ee49495
fix(gitsigns): update deprecated hunk nav mappings (#2935) 2024-05-15 16:15:11 +02:00
Amaan Qureshi
9337db17c2
fix(autocmds): remove query from q-to-quit autocmd (#2838) 2024-05-15 16:12:18 +02:00
André Freitas
36802fea19
fix(keymaps): better up/down keymaps description (#1909) 2024-05-15 16:10:06 +02:00