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
github-actions[bot]
26e3e39f2e
chore(main): release 12.12.0 ( #3574 )
...
🤖 I have created a release *beep* *boop*
---
##
[12.12.0](https://github.com/LazyVim/LazyVim/compare/v12.11.0...v12.12.0 )
(2024-06-11)
### Features
* **extras:** added fzf-lua
([#3555 ](https://github.com/LazyVim/LazyVim/issues/3555 ))
([6ab4041
](6ab404134d
))
* **fzf:** better scrollbars
([8bb6538
](8bb653876c
))
* **fzf:** ignore current line for some lsp pickers
([c481861
](c4818616d5
))
* **fzf:** prettier document symbols
([ba3aec7
](ba3aec7b48
))
* **lualine:** show readonly icon
([#3567 ](https://github.com/LazyVim/LazyVim/issues/3567 ))
([21617a9
](21617a9d60
))
### Bug Fixes
* **dap:** set host to 127.0.0.1 instead of localhost to prevent issues
with ipv6. Fixes [#3577 ](https://github.com/LazyVim/LazyVim/issues/3577 )
([9b8a393
](9b8a393edc
))
* **extras.copilot-chat:** small ui fix for which-key in visual mode
([#3573 ](https://github.com/LazyVim/LazyVim/issues/3573 ))
([43afed1
](43afed1211
))
* **fzf:** lowercase symbols
([d1d24fa
](d1d24fa077
))
* **neo-tree:** use last window for preview
([#3560 ](https://github.com/LazyVim/LazyVim/issues/3560 ))
([caaa6c4
](caaa6c440d
))
* **php:** formatting and linting
([#3540 ](https://github.com/LazyVim/LazyVim/issues/3540 ))
([f5dc867
](f5dc867ac2
))
* **pick:** recent files in cwd. Fixes
[#3580 ](https://github.com/LazyVim/LazyVim/issues/3580 )
([d541069
](d541069fdf
))
* **sql:** make sure edgebars exist. Fixes
[#3578 ](https://github.com/LazyVim/LazyVim/issues/3578 )
([bd29f45
](bd29f45153
))
* **util:** ensure unique cache keys in LazyVim.memoize
([#3576 ](https://github.com/LazyVim/LazyVim/issues/3576 ))
([3354872
](335487282a
))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-11 14:35:51 +02:00
Folke Lemaitre
d541069fdf
fix(pick): recent files in cwd. Fixes #3580
2024-06-11 14:26:46 +02:00
Folke Lemaitre
bd29f45153
fix(sql): make sure edgebars exist. Fixes #3578
2024-06-11 09:10:10 +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
Folke Lemaitre
638769d320
test: simple test to make sure I don't keep debug stuff around
2024-06-11 07:27:04 +02:00
Folke Lemaitre
9b8a393edc
fix(dap): set host to 127.0.0.1 instead of localhost to prevent issues with ipv6. Fixes #3577
2024-06-11 06:55:16 +02:00
Folke Lemaitre
14d47f650c
refactor: memoize
2024-06-11 06:51:30 +02:00
github-actions[bot]
3b447a8037
chore(build): auto-generate vimdoc
2024-06-11 04:42:12 +00:00
Aofei Sheng
335487282a
fix(util): ensure unique cache keys in LazyVim.memoize ( #3576 )
...
## What is this PR for?
This PR fixes a bug in the `LazyVim.memoize` function that was causing
unexpected behavior in my configuration. The issue was discovered when
setting `vim.g.lazyvim_prettier_needs_config = true` in my
`lua/config/options.lua`, which did not work as expected.
The root cause was an issue with `LazyVim.memoize` cache key generation,
which led to `M.has_config(ctx)` always returning the same result as
`M.has_parser(ctx)`. This happened because `LazyVim.memoize` generates
cache keys based on the function parameters, and both functions were
being called with identical parameters:
7d30360df2/lua/lazyvim/plugins/extras/formatting/prettier.lua (L77-L81)
By improving the cache key generation to include function information,
we can ensure unique keys for different functions even if their
parameters are identical, thereby fixing the issue.
## Does this PR fix an existing issue?
N/A
## Checklist
- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md )
guidelines.
2024-06-11 06:41:37 +02:00
Folke Lemaitre
7d30360df2
refactor: config = true >> opts = {}
2024-06-11 00:06:56 +02:00
Folke Lemaitre
9b5d810c05
docs: added experience to CONTRIBUTING
2024-06-10 23:26:07 +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
dotfrag
21617a9d60
feat(lualine): show readonly icon ( #3567 )
...
Adds a configurable lock icon when a file is opened as read only. Mimics
`vi -R <file>` status line.
2024-06-10 22:06:09 +02:00
Muneeb Usmani
f5dc867ac2
fix(php): formatting and linting ( #3540 )
...
Fixed the issue of php formatting not working in extras.lang.php
2024-06-10 22:01:24 +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
Aleksey Imuzov
caaa6c440d
fix(neo-tree): use last window for preview ( #3560 )
...
Similar to "trouble.nvim" I want the preview to open in the last active
window. Currently the neo-tree preview opens in a floating window, which
(to me) doesn’t look very good.
What do you think about doing preview window the same everywhere
(trouble & neo-tree)?
## Before:
https://github.com/LazyVim/LazyVim/assets/3313023/7d7c21c9-158d-40ef-82f2-62e0dc795555
## After:
https://github.com/LazyVim/LazyVim/assets/3313023/bafc5bae-20cb-4dd1-8e40-1358ada573d9
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-10 21:41:45 +02:00
Đ - DEV
43afed1211
fix(extras.copilot-chat): small ui fix for which-key in visual mode ( #3573 )
...
## What is this PR for?
- Just a small fix for which-key in visual mode that the authors forgot
to add.
<!-- Describe the big picture of your changes to communicate to the
maintainers
why we should accept this pull request. -->
## Does this PR fix an existing issue?
- As copilot-chat has just been added to extras so i think this is new.
<!--
If this PR fixes any issues, please link to the issue here.
Fixes #<issue_number>
-->
## Checklist
- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md )
guidelines.
2024-06-10 20:15:27 +02:00
Folke Lemaitre
4b7c389f14
docs: fix link
2024-06-10 15:09:30 +02:00
github-actions[bot]
4b1d397627
chore(build): auto-generate vimdoc
2024-06-10 13:05:24 +00:00
Folke Lemaitre
9d78a22252
docs: added contributing
2024-06-10 15:04:43 +02:00
Folke Lemaitre
65060ece67
ci: pull request template
2024-06-10 15:04:43 +02:00
github-actions[bot]
d7c7548e09
chore(main): release 12.11.0 ( #3536 )
...
🤖 I have created a release *beep* *boop*
---
##
[12.11.0](https://github.com/LazyVim/LazyVim/compare/v12.10.0...v12.11.0 )
(2024-06-09)
### Features
* **octo:** re-open octo windows when restoring session + cleanup
([7793942
](7793942eba
))
### Bug Fixes
* **extra-lang-angular:** add BufNew event to attach angular treesitter
([#3522 ](https://github.com/LazyVim/LazyVim/issues/3522 ))
([fbb1276
](fbb1276ffd
))
* **extras:** +prefix in which-key panel for visual mode
([#3537 ](https://github.com/LazyVim/LazyVim/issues/3537 ))
([5185404
](51854046db
))
* **helm:** missing dependency
([#3546 ](https://github.com/LazyVim/LazyVim/issues/3546 ))
([02dd65c
](02dd65cdea
))
* **lang:** neotest not loading rust tests
([#3544 ](https://github.com/LazyVim/LazyVim/issues/3544 ))
([0567b37
](0567b37f61
))
* **luasnip:** disable nvim-snippets when luasnip is enabled. Fixes
[#3547 ](https://github.com/LazyVim/LazyVim/issues/3547 )
([aa059e0
](aa059e0d49
))
* **rust:** make neotest optional
([547dc76
](547dc76a12
))
* **typescript:** clean up configuration of the vscode dap extension
([#3556 ](https://github.com/LazyVim/LazyVim/issues/3556 ))
([1c46f54
](1c46f54432
))
* **typescript:** implemented move to new file. Fixes
[#3534 ](https://github.com/LazyVim/LazyVim/issues/3534 )
([d90930b
](d90930b13e
))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-09 23:19:28 +02:00
Micah Halter
1c46f54432
fix(typescript): clean up configuration of the vscode dap extension ( #3556 )
...
`mason-nvim-dap.nvim` adds it's own adapter filetype mappings to the
vscode extension in `nvim-dap` (as of
https://github.com/jay-babu/mason-nvim-dap.nvim/pull/129 )
This also moves the type mappings for the `pwa-node` and `node` adapters
to where they are defined in the typescript pack.
Now that the default internal type mappings are configured we can rely
on the automatic loading of the `.vscode/launch.json` that `nvim-dap`
does
2024-06-09 22:48:51 +02:00
Folke Lemaitre
7793942eba
feat(octo): re-open octo windows when restoring session + cleanup
2024-06-09 11:42:58 +02:00
Folke Lemaitre
2848ee492b
ci: link to discussions
2024-06-09 11:36:44 +02:00
Folke Lemaitre
547dc76a12
fix(rust): make neotest optional
2024-06-09 09:27:29 +02:00
Ian
0567b37f61
fix(lang): neotest not loading rust tests ( #3544 )
...
fixes https://github.com/LazyVim/LazyVim/issues/3543
2024-06-09 08:37:08 +02:00
Folke Lemaitre
aa059e0d49
fix(luasnip): disable nvim-snippets when luasnip is enabled. Fixes #3547
2024-06-09 07:37:45 +02:00
github-actions[bot]
28426cc31c
chore(build): auto-generate vimdoc
2024-06-09 05:34:35 +00:00
DrummyFloyd
02dd65cdea
fix(helm): missing dependency ( #3546 )
...
according to this comment
ab41ff551b (r142924660)
2024-06-09 07:33:59 +02:00
Mykhailo Sabatura
fbb1276ffd
fix(extra-lang-angular): add BufNew event to attach angular treesitter ( #3522 )
...
## Problem
Sometimes angular treesitter didn't get started, e.g. when creating a
new file.
## Solution
- Add `BufNew` event to attach angular treesitter.
- Change `BufRead` to `BufReadPost` for better readability.
### Related Neovim docs
- [BufRead / BufReadPost
docs](https://neovim.io/doc/user/autocmd.html#BufRead )
- [BufNew](https://neovim.io/doc/user/autocmd.html#BufNew )
2024-06-08 23:57:45 +02:00
zeekrs
51854046db
fix(extras): +prefix in which-key panel for visual mode ( #3537 )
2024-06-08 10:04:10 +02:00
Folke Lemaitre
8f7ee56dab
refactor: LazyVim.lsp.on_attach
2024-06-08 08:11:30 +02:00
github-actions[bot]
6098a36d92
chore(build): auto-generate vimdoc
2024-06-08 05:31:47 +00:00
Folke Lemaitre
d90930b13e
fix(typescript): implemented move to new file. Fixes #3534
2024-06-08 07:30:49 +02:00
Folke Lemaitre
1394070aab
docs(news): fixed versions
2024-06-08 00:11:24 +02:00
Folke Lemaitre
16f3ebb9f1
docs(news): added link to news
2024-06-07 23:59:07 +02:00
github-actions[bot]
a5f8af912d
chore(main): release 12.10.0 ( #3532 )
...
🤖 I have created a release *beep* *boop*
---
##
[12.10.0](https://github.com/LazyVim/LazyVim/compare/v12.9.0...v12.10.0 )
(2024-06-07)
### Features
* **prettier:** prettier is now enabled for all supported filetypes and
no longer requires a config file by default
([7d50bf0
](7d50bf0626
))
* **prettier:** with the prettier & astro extra, prettier will be
enabled if the prettier-astro-plugin is available
([214f5fc
](214f5fccdf
))
* **svelte:** with prettier & svelte extra, prettier will be enabled
when prettier-plugin-svelte is available
([945143a
](945143a34e
))
* **util:** added LazyVim.has_extra
([b714f28
](b714f28662
))
* **util:** added LazyVim.memoize
([5a11d74
](5a11d740e1
))
### Bug Fixes
* **clojure:** removed rainbow delimiters and fixed some plugin setups.
Closes [#3530 ](https://github.com/LazyVim/LazyVim/issues/3530 )
([cfa8c9f
](cfa8c9fbd4
))
* **cmp:** don't enable `snippets` source without `nvim-snippets`
([#3527 ](https://github.com/LazyVim/LazyVim/issues/3527 ))
([af80811
](af80811be0
))
* **extras:** load prettier extra before svelte/astro
([4980574
](49805748d4
))
* **formatting:** remove deprecation check on some options
([c16fb5d
](c16fb5d49b
))
* **prettier:** fixup
([ac9217b
](ac9217b199
))
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please ). See
[documentation](https://github.com/googleapis/release-please#release-please ).
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-07 23:57:13 +02:00
Folke Lemaitre
f202f573b4
docs: updated news
2024-06-07 23:54:57 +02:00
Folke Lemaitre
ac9217b199
fix(prettier): fixup
2024-06-07 23:24:01 +02:00
Iordanis Petkakis
af80811be0
fix(cmp): don't enable snippets
source without nvim-snippets
( #3527 )
...
Make it easier, so if users decide to disable `nvim-snippets`, they
don't have to remove the `snippets` source manually in their config.
2024-06-07 23:12:59 +02:00
Folke Lemaitre
cfa8c9fbd4
fix(clojure): removed rainbow delimiters and fixed some plugin setups. Closes #3530
2024-06-07 23:10:40 +02:00
Folke Lemaitre
588240ca09
style: better types for vim.api.nvim_create_autocmd
2024-06-07 23:02:47 +02:00
Folke Lemaitre
49805748d4
fix(extras): load prettier extra before svelte/astro
2024-06-07 23:02:47 +02:00
Folke Lemaitre
945143a34e
feat(svelte): with prettier & svelte extra, prettier will be enabled when prettier-plugin-svelte is available
2024-06-07 23:02:47 +02:00