Commit graph

96 commits

Author SHA1 Message Date
Folke Lemaitre
cda30f2740
feat(fzf): basic image viewing support 2024-06-16 09:06:34 +02:00
Folke Lemaitre
b87d18cc17
fix(telescope): default to follow=true 2024-06-16 07:13:40 +02:00
Folke Lemaitre
e1f587a43d
fix(fzf): only add trouble integration when trouble is available 2024-06-15 00:34:51 +02:00
Folke Lemaitre
304e7439aa
fix(pick): allow configuring pickers without LazyExtras. Fixes #3626 2024-06-14 17:55:43 +02:00
Folke Lemaitre
c9380a309d
fix(fzf): esc and c-j, c-k keymaps with nowait. update fzf-lua as well 2024-06-14 17:53:44 +02:00
Folke Lemaitre
7c7703d792
fix(fzf): esc and nowait 2024-06-14 08:31:58 +02:00
xiaojianzheng
427e57ddf7
fix(fzf): floating previewer closed fail (#3638)
- floating previewer closed fail.
https://github.com/LazyVim/LazyVim/issues/3582

Co-authored-by: 肖健正 <xiaojianzheng@qq.com>
2024-06-14 08:24:14 +02:00
Iordanis Petkakis
b9f726404f
fix(pick): move some leftovers from editor.lua to editor.telescope (#3620)
## What is this PR for?

`have_make` and `have_cmake` were left over at
`/lua/plugins/editor.lua`, so move them to `extras.editor.telescope`
instead.

## Does this PR fix an existing issue?

No

## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
2024-06-13 13:54:58 +02:00
Folke Lemaitre
e948435f17
feat(fzf): better layout for code actions 2024-06-13 13:05:16 +02:00
Folke Lemaitre
8346fa7ddc
refactor(lsp): remove lsp keymap dependency on telescope 2024-06-13 06:33:10 +02:00
Folke Lemaitre
39a908c9fa
feat(pick): move pickers to extras (telescope still the default) (#3606)
## What is this PR for?

Refactoring of pickers in LazyVim:

- [x] telescope moved to extras
- [x] dressing was moved to the telescope extra. Not needed with fzf-lua
and noice
- [x] when none of the two is enabled, then telescope will be enabled
- [x] when using `:LazyExtras` to enable fzf-lua, the telescope spec
will never be parsed
- [x] when not using `:LazyExras`, the spec will be parsed, but one of
the two will be disabled.
- [x] only one picker extra can be used to prevent issues
- [ ] cleanup lsp keymaps
2024-06-13 06:07:02 +02:00
Folke Lemaitre
5c876b7549
feat(fzf): disable dressing in favor of noice (vim.ui.input) and fzf-lua (vim.ui.select) 2024-06-12 11:31:25 +02:00
Folke Lemaitre
14d1ca93d0
feat(fzf): use vscode style path names formatter 2024-06-12 11:23:45 +02:00
Folke Lemaitre
74cf6e4462
feat(fzf): better default window size/position 2024-06-12 00:27:23 +02:00
Folke Lemaitre
16971006c2
feat(fzf): use delta previewer for code actions when available 2024-06-11 23:48:16 +02:00
Folke Lemaitre
1c740ce3fd
feat(fzf): added ctrl-x to jump with easymotion to a line, similar to flash telescope 2024-06-11 19:38:48 +02:00
Folke Lemaitre
9f2a3699a8
feat(fzf): added ctrl-u and ctrl+d to scroll in the results list 2024-06-11 19:38:22 +02:00
Folke Lemaitre
7e0ac6850b
fix(fzf): symbols filter 2024-06-11 16:11:45 +02:00
Folke Lemaitre
056042b221
fix(fzf): live document symbols. Fixes #3587 2024-06-11 16:08:27 +02:00
Folke Lemaitre
79b7c489fd
fix(fzf): cleanup 2024-06-11 15:47:14 +02:00
Folke Lemaitre
c6ddb2328d
fix(fzf): action desc 2024-06-11 14:58:35 +02:00
Folke Lemaitre
19a6e2de15
fix(fzf): added action descriptions. (still doesnt work for trouble) 2024-06-11 14:49:09 +02:00
Folke Lemaitre
d541069fdf
fix(pick): recent files in cwd. Fixes #3580 2024-06-11 14:26:46 +02:00
Folke Lemaitre
c4818616d5
feat(fzf): ignore current line for some lsp pickers 2024-06-11 09:05:16 +02:00
Folke Lemaitre
8bb653876c
feat(fzf): better scrollbars 2024-06-11 09:04:39 +02:00
Folke Lemaitre
d1d24fa077
fix(fzf): lowercase symbols 2024-06-11 07:44:32 +02:00
Folke Lemaitre
ba3aec7b48
feat(fzf): prettier document symbols 2024-06-11 07:42:21 +02:00
Iordanis Petkakis
fe667b53c9
refactor(mini-files): mini-files (#3538)
Incorporate additional boolean logic when setting keymaps to avoid
creating `opts.mappings` table and leave that only from the user
configuration to change mappings.
2024-06-10 22:12:25 +02:00
Folke Lemaitre
6ab404134d
feat(extras): added fzf-lua (#3555)
New extra with an initial implementation of fzf-lua.

## Todo

- [x] check all places that currently depend on telescope and provide an
alternative or disable
- [x] disable telescope spec completely. (currently only removed its
keymaps)
- [x] trouble integration
- [x] https://github.com/ibhagwan/fzf-lua/issues/1241

---------

Co-authored-by: Iordanis Petkakis <12776461+dpetka2001@users.noreply.github.com>
2024-06-10 21:58:33 +02:00
zeekrs
51854046db
fix(extras): +prefix in which-key panel for visual mode (#3537) 2024-06-08 10:04:10 +02:00
Iordanis Petkakis
827aa5380a
fix(lualine): only show one Lualine component for symbols (#3514)
Fixes #3511
2024-06-07 12:12:05 +02:00
Iordanis Petkakis
92106484ed
fix(mini.files): fix error about opts.mappings (#3507) 2024-06-06 20:52:40 +02:00
Folke Lemaitre
8010f50aa5
fix(which-key): use new which-key support for native group keymaps (nop) 2024-06-06 10:46:56 +02:00
Dusty Phillips
393aa44e66
feat(mini.files): add cwd and vertical/horizontal keybindings to mini.files (#2695)
* Makes the toggle_hidden keybinding configurable via mappings
* Adds new mini.files keybindings for opening files in a vertical split,
with both go_in and go_in_plus modes (configurable via mappings)
* Adds new keybinding to change working directory from mini.files
(configurable via mappings)

Closes #2692
2024-06-05 23:22:14 +02:00
Brian Di Palma
c50018b791
feat(editor): added extra for inc-rename.nvim (#3432)
* feat(editor-extra): Add inc-rename

* fix: refactor and moved noice integration

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-06-04 09:51:36 +02:00
Folke Lemaitre
135150307b
fix(aerial): disable trouble leader-cs keymap when aerial extra is enabled 2024-05-31 23:47:48 +02:00
Iordanis Petkakis
146c87cd78
fix(trouble): don't enable symbols keymap when outline.nvim enabled (#3408) 2024-05-31 23:46:30 +02:00
Folke Lemaitre
95d055dcf7
feat: trouble v3 2024-05-30 14:41:13 +02:00
Folke Lemaitre
a13457eea3
fix(trouble_v3): set correct lualine section background color 2024-05-29 21:38:05 +02:00
jyuan0
c9ab8224f5
fix(illuminate): s/enabed/enabled (#3313) 2024-05-26 10:38:28 +02:00
Rubin Bhandari
4a41012483
fix: show refactored success msg (#3233) 2024-05-19 17:45:36 +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
ef3bd3bd02
feat(extras): tags some extras as recommended 2024-05-18 14:12:26 +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
EJ
39bec71ce9
fix(refactoring): add label to refactoring key group (#3201) 2024-05-17 20:08: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
e37a699096 feat(mini.surround)!: move mini.surround to an extra 2024-05-16 21:25:51 +02:00
Gethin Davies
1df3c5d70b
fix(dial): Fix dial commands in Visual line+block (#2933) 2024-05-14 22:36:31 +02:00
Rubin Bhandari
73de8dde2b
feat(extras): add refactoring.nvim (#3040)
* feat(editor): add refactoring.nvim

More on:
https://github.com/ThePrimeagen/refactoring.nvim#features

* Update lua/lazyvim/plugins/extras/editor/refactoring.lua

Co-authored-by: Iordanis Petkakis <12776461+dpetka2001@users.noreply.github.com>

* Update lua/lazyvim/plugins/extras/editor/refactoring.lua

Co-authored-by: Iordanis Petkakis <12776461+dpetka2001@users.noreply.github.com>

* indent fixes

---------

Co-authored-by: Iordanis Petkakis <12776461+dpetka2001@users.noreply.github.com>
2024-05-12 22:12:05 +02:00