LazyVim.LazyVim/lua/lazyvim/plugins/extras
Miguel Palau f78bc3b858
fix(telescope): buffers to start at final item (#4189)
## Description

Currently hitting `<leader>fb` triggers the telescope buffers command
but because we're passing the `sort_lastused=true` flag the index starts
at the second item.

This happens because of this line of code in telescope.nvim:


https://github.com/nvim-telescope/telescope.nvim/blob/master/lua/telescope/builtin/__internal.lua#L941-L943

This makes it annoying to actually use the tool to find buffers because
you have to first type your query then exit insert mode, then scroll one
item down, and then hitting enter:



https://github.com/user-attachments/assets/4126d017-df4b-48dc-b6d4-f7d9b8f491ff

When removing that flag it makes the function much more usable in terms
of UX since now you can just write your query and hit enter to go
straight to it.

## Related Issue(s)

<!--
  If this PR fixes any issues, please link to the issue here.
  - Fixes #<issue_number>
-->

## Screenshots

<!-- Add screenshots of the changes if applicable. -->

## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
2024-11-08 14:06:39 +01:00
..
coding fix(blink): remove draw="reversed" for now till new release 2024-11-07 22:52:38 +01:00
dap fix(dap): use dap's splitstr when running with args. Closes #4387 2024-11-08 13:31:19 +01:00
editor fix(telescope): buffers to start at final item (#4189) 2024-11-08 14:06:39 +01:00
formatting fix(prettier): keep existing formatters_by_ft (#4719) 2024-11-07 16:11:36 +01:00
lang fix(lang/ruby): do not enable Rubocop as LSP if Solargraph is used (#4566) 2024-11-08 13:56:44 +01:00
linting feat(eslint): add option to disable eslint auto format (#4225) 2024-11-08 14:05:00 +01:00
lsp feat: moved neoconf.nvim to extras 2024-06-02 09:05:16 +02:00
test fix(neotest): disambiguous key map descriptions (#4374) 2024-11-08 13:37:09 +01:00
ui feat(core)!: move a bunch of LazyVim features to snacks.nvim (#4706) 2024-11-07 15:54:47 +01:00
util fix(project.nvim): correctly delete projects (#4314) 2024-11-08 13:43:11 +01:00
vscode.lua feat(vscode): make use of vscode builtin terminal (#4392) 2024-09-18 08:16:29 +02:00