Commit graph

1555 commits

Author SHA1 Message Date
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
Folke Lemaitre
57a31c3920
fix(cmp): no need to setup native snippets with latest cmp 2024-05-19 21:24:23 +02:00
Folke Lemaitre
c264253d8f
feat(toml): also recommend toml when theres toml files in the cwd 2024-05-19 21:23:49 +02:00
Folke Lemaitre
76033c6aa9
fix(config): add some extra LazyVim keys to lazy health 2024-05-19 21:12:51 +02:00
Andrea C from The App
e0c67f6776
feat(lang): add toml (#3022)
Co-authored-by: gacallea <gacallea@users.noreply.github.com>
2024-05-19 20:47:00 +02:00
Folke Lemaitre
573aa226f9
fix(bufferline): pin bufferline to older version on 0.9.x for now 2024-05-19 19:44:37 +02:00
Rubin Bhandari
4a41012483
fix: show refactored success msg (#3233) 2024-05-19 17:45:36 +02:00
dotfrag
93c156a0a5
fix(yanky): load yanky earlier to avoid losing deleted lines (#3234) 2024-05-19 17:25:00 +02:00
Folke Lemaitre
ad22adab7d
fix(cmp): only complete on <cr> when cmp is really visible. Dont wait till it might be visible. Faster and more correct imho 2024-05-19 09:58:28 +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
e346d17812
fix(gitui): properly delete lazygit keymap at the correct time. Fixes #3227 2024-05-19 09:29:17 +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
Rubin Bhandari
649fa9d521
fix(keymaps): delete lazygit keymap when using gitui (#2986)
* fix(keymaps): delete lazygit keymap when using gitui

* Update gitui.lua
2024-05-18 21:55:54 +02:00
Folke Lemaitre
4614666d1e
fix(ibl): remove ibl fix since it's been fixed upstream 2024-05-18 21:53:26 +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
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