LazyVim.LazyVim/lua/lazyvim/plugins/extras
Iordanis Petkakis c09735594a
fix(project.nvim): correctly delete projects (#4314)
## Description
Unfortunately, the upstream Github repo hasn't been active for over a
year. This overwrites the `history.delete_project` function to correctly
be able to delete projects. Because of `ipairs` being used, when you
delete the first key from the table the `for` loop iteration will just
stop, since there will be a gap between the available indices.
> will iterate over the pairs (`1,t[1]`), (`2,t[2]`), ..., up to the
first integer key absent from the table.

There's also a
[PR](https://github.com/ahmedkhalf/project.nvim/pull/106/files) for this
upstream, but like I mentioned the Github repo hasn't been active for
over a year.

Feel free to disregard, since this is obviously something that should be
rather fixed upstream under normal circumstances. I just created this
PR, since it's such a basic functionality with little change in
LazyVim's codebase, that I thought it might be acceptable.
<!-- Describe the big picture of your changes to communicate to the
maintainers
  why we should accept this pull request. -->

## Related Issue(s)
No, rather a discussion #4310
<!--
  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 13:43:11 +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 feat(toggle): add illuminate toggle for which-key (#4708) 2024-11-08 09:00:36 +01:00
formatting fix(prettier): keep existing formatters_by_ft (#4719) 2024-11-07 16:11:36 +01:00
lang fix(lang/r): make keymaps in which-key menu available in visual mode (#4565) 2024-11-08 13:26:31 +01:00
linting feat: use LazyVim everywhere instead of require("lazyvim.util") 2024-03-22 09:15:09 +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