Maksim Sinelnikov
0d71b02841
fix: syntax
2024-09-09 12:38:53 +05:00
Maksim Sinelnikov
87b5c5d567
chore: refactor codestyle
2024-09-09 12:04:57 +05:00
Maksim Sinelnikov
730348b492
chore: refactor recommended
2024-09-09 11:54:50 +05:00
Maksim Sinelnikov
f9baaa562a
Merge branch 'main' of github.com:sinelnikov-web/LazyVim
2024-09-09 11:44:10 +05:00
Maksim Sinelnikov
9ec1a86c7f
fix: remove mason.nvim part
2024-09-09 11:43:40 +05:00
Maxim Sinelnikov
902d26e129
Merge branch 'main' into main
2024-09-09 11:40:39 +05:00
Maksim Sinelnikov
dbb75c3df4
fix: change mason package name
2024-09-09 11:39:50 +05:00
Folke Lemaitre
3dbace941e
fix(toggle): diagnostics enable/disable. See #4205
2024-08-31 12:34:45 +02:00
Iordanis Petkakis
c012f85959
fix(toggle): make diagnostics compatible with nvim-0.9.5 ( #4205 )
...
## Description
This makes `toggle.diagnostics` compatible with Neovim 0.9.5 (though not
sure about the metatable callables, since `set` there accepts a boolean
from `get` state).
Please make whatever changes you deem necessary or disregard as a whole
for a better approach I haven't been able to think of.
<!-- Describe the big picture of your changes to communicate to the
maintainers
why we should accept this pull request. -->
## Related Issue(s)
Fixes #4203
<!--
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-08-31 09:44:52 +02:00
Iordanis Petkakis
b892861bde
fix(markdown-preview): unknown function mkdp#util#install ( #4196 )
...
## Description
This fixes the problem when checking for updates and trying to build and
the user encounters the error `unknown function mkdp#util#install`.
As per https://github.com/iamcco/markdown-preview.nvim/pull/691
<!-- 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 #4194
<!--
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-08-31 09:43:48 +02:00
Folke Lemaitre
5a0122b619
feat(persistence): added leader-qS to select a session
2024-08-31 09:27:14 +02:00
Iordanis Petkakis
41a8f3a5fb
feat(lazygit): allow user to override LazyVim config with custom file ( #4367 )
...
## Description
This takes into consideration an additional file, if it exists, to
extend `LG_CONFIG_FILE` environment variable, so that users can
overwrite easier default LazyVim options set for lazygit in
`lazygit-theme.yml`. It's not desirable to directly change
`lazygit-theme.yml` as the values are hardcoded and regenerated upon
colorscheme change.
<!-- Describe the big picture of your changes to communicate to the
maintainers
why we should accept this pull request. -->
## Related Issue(s)
Fixes #4364 . Ideally, the problem about `nvim-remote` on Windows should
be fixed on lazygit's side, so this is just kind of a hotfix in the
meantime. Feel free to disregard this if not desirable.
<!--
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-08-31 09:18:20 +02:00
folke
393b7e4f46
chore(build): auto-generate docs
2024-08-31 07:17:40 +00:00
George Guimarães
1d2c0a5cf4
chore(markdown): markdown.nvim was renamed to render-markdown.nvim ( #4259 )
...
As described in
aeb5cec617
2024-08-31 09:16:45 +02:00
Maksim Sinelnikov
2a81e495c5
feat: add snakeskin extra
2024-08-29 15:25:50 +05:00
github-actions[bot]
12818a6cb4
chore(main): release 12.38.2 ( #4178 )
...
🤖 I have created a release *beep* *boop*
---
##
[12.38.2](https://github.com/LazyVim/LazyVim/compare/v12.38.1...v12.38.2 )
(2024-07-25)
### Bug Fixes
* **news:** pcall diag when showing news for older Neovim versions
([94bf4f9 ](94bf4f9324 ))
---
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-07-25 11:07:00 +02:00
folke
deceafc0f9
chore(build): auto-generate docs
2024-07-25 08:56:05 +00:00
Folke Lemaitre
94bf4f9324
fix(news): pcall diag when showing news for older Neovim versions
2024-07-25 10:55:08 +02:00
github-actions[bot]
bcbab77f0c
chore(main): release 12.38.1 ( #4167 )
...
🤖 I have created a release *beep* *boop*
---
##
[12.38.1](https://github.com/LazyVim/LazyVim/compare/v12.38.0...v12.38.1 )
(2024-07-24)
### Bug Fixes
* **autcmds:** added grug-far to close with q
([3282721 ](328272144c ))
---
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-07-24 18:49:45 +02:00
Folke Lemaitre
328272144c
fix(autcmds): added grug-far to close with q
2024-07-24 18:18:00 +02:00
github-actions[bot]
71b2690582
chore(main): release 12.38.0 ( #4158 )
...
🤖 I have created a release *beep* *boop*
---
##
[12.38.0](https://github.com/LazyVim/LazyVim/compare/v12.37.0...v12.38.0 )
(2024-07-24)
### Features
* **markdown:** markdown-render toggle
([c8d0faf ](c8d0faf9b1 ))
* **markdown:** replace `headlines.nvim` by `markdown.nvim`
([#4139 ](https://github.com/LazyVim/LazyVim/issues/4139 ))
([264abdf ](264abdf9d5 ))
---
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-07-24 08:30:15 +02:00
Folke Lemaitre
c8d0faf9b1
feat(markdown): markdown-render toggle
2024-07-24 08:21:36 +02:00
George Guimarães
264abdf9d5
feat(markdown): replace headlines.nvim by markdown.nvim ( #4139 )
...
Okay, so
https://github.com/MeanderingProgrammer/markdown.nvim?tab=readme-ov-file
is a new kid on the block that I've been enjoying a lot. It replaces
headlines.nvim.
This new extra is a way for folks to try markdown.nvim effortlessly.
(Should I add here everything from the current markdown extra to make
this extra a complete drop-in replacement?)
---------
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-07-24 08:02:56 +02:00
github-actions[bot]
489a7a8e84
chore(main): release 12.37.0 ( #4147 )
...
🤖 I have created a release *beep* *boop*
---
##
[12.37.0](https://github.com/LazyVim/LazyVim/compare/v12.36.0...v12.37.0 )
(2024-07-24)
### Features
* **catppuccin:** enable grug-far integration
([#4156 ](https://github.com/LazyVim/LazyVim/issues/4156 ))
([4bf6d85 ](4bf6d856a8 ))
* **elixir:** add elixirls code actions
([#4148 ](https://github.com/LazyVim/LazyVim/issues/4148 ))
([f94a059 ](f94a0591b3 ))
### Bug Fixes
* **dap:** don't mess up DAP adapters provided by nvim-dap-python
([#4141 ](https://github.com/LazyVim/LazyVim/issues/4141 ))
([940d7df ](940d7df59a ))
* **dap:** extend dap.configurations from .vscode/launch.json
([#4106 ](https://github.com/LazyVim/LazyVim/issues/4106 ))
([caf227d ](caf227dd08 ))
* **grug-far:** use new transient option
([1c2be20 ](1c2be200c1 ))
* **keymaps:** leader-wd
([f0d8b8b ](f0d8b8b293 ))
* **keymaps:** leader-wm
([391f506 ](391f506295 ))
* **news:** deprecated API
([f6cd4a3 ](f6cd4a38c6 ))
---
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-07-24 07:05:03 +02:00
Folke Lemaitre
391f506295
fix(keymaps): leader-wm
2024-07-24 07:03:45 +02:00
folke
ec8de342d7
chore(build): auto-generate docs
2024-07-24 04:27:22 +00:00
EJ
4bf6d856a8
feat(catppuccin): enable grug-far integration ( #4156 )
...
## Description
This enables the recently added `grug-far` integration in catppuccin -
https://github.com/catppuccin/nvim/pull/735
## Checklist
- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md )
guidelines.
2024-07-24 06:26:27 +02:00
moetayuko
940d7df59a
fix(dap): don't mess up DAP adapters provided by nvim-dap-python ( #4141 )
...
## Description
* mason-nvim-dap.nvim ships a `Python: Launch file` adapter which does
the same thing as `Launch file` of nvim-dap-python, providing both
doesn't make sense and confuses the users.
* mason-nvim-dap.nvim unexpectedly overrides nvim-dap-python's adapters
and breaks its venv detection. As a result, user programs are always
executed in mason debugpy venv rather than the activated one.
<!-- Describe the big picture of your changes to communicate to the
maintainers
why we should accept this pull request. -->
## Related Issue(s)
Fixes #3064
<!--
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-07-23 21:27:29 +02:00
Miguel Palau
caf227dd08
fix(dap): extend dap.configurations from .vscode/launch.json ( #4106 )
...
## Description
<!-- Describe the big picture of your changes to communicate to the
maintainers
why we should accept this pull request. -->
This PR allows the nvim-dap module to read from vscode's launch.json and
add those configurations to the ones in nvim-dap.
## Related Issue(s)
<!--
If this PR fixes any issues, please link to the issue here.
- Fixes #<issue_number>
-->
## Screenshots
Before:
<img width="1137" alt="image"
src="https://github.com/user-attachments/assets/22978298-dbe1-44f5-92ac-c981197b22ae ">
After:
<img width="1004" alt="image"
src="https://github.com/user-attachments/assets/3521b75e-6e32-40f4-9172-f52f39077441 ">
## Checklist
- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md )
guidelines.
---------
Co-authored-by: Micah Halter <micah@mehalter.com>
2024-07-23 17:05:18 +02:00
Folke Lemaitre
f0d8b8b293
fix(keymaps): leader-wd
2024-07-23 08:29:08 +02:00
folke
5727da6ff7
chore(build): auto-generate docs
2024-07-23 05:18:13 +00:00
Folke Lemaitre
f6cd4a38c6
fix(news): deprecated API
2024-07-23 07:17:18 +02:00
George Guimarães
f94a0591b3
feat(elixir): add elixirls code actions ( #4148 )
...
This is a refactoring of #3846 with the changes:
- Use `Lazyvim.lsp.execute` on keymaps to make everything simpler;
- Remove expandMacro.
Closes #3846
---------
Co-authored-by: Ahmed Kamal <ahmed@moon-i.com.au>
2024-07-23 00:11:30 +02:00
Folke Lemaitre
1c2be200c1
fix(grug-far): use new transient option
2024-07-22 23:26:03 +02:00
github-actions[bot]
03968eb3f0
chore(main): release 12.36.0 ( #4135 )
...
🤖 I have created a release *beep* *boop*
---
##
[12.36.0](https://github.com/LazyVim/LazyVim/compare/v12.35.1...v12.36.0 )
(2024-07-22)
### Features
* **grug-far:** no longer needed to call visual replace separately
([72d0cad ](72d0cad353 ))
---
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-07-22 14:25:04 +02:00
Folke Lemaitre
5626d98d1c
ci: update
2024-07-22 14:24:32 +02:00
folke
3a87ce4afb
chore(build): auto-generate docs
2024-07-22 06:39:25 +00:00
Folke Lemaitre
72d0cad353
feat(grug-far): no longer needed to call visual replace separately
2024-07-22 08:38:34 +02:00
github-actions[bot]
8db2f3af39
chore(main): release 12.35.1 ( #4131 )
...
🤖 I have created a release *beep* *boop*
---
##
[12.35.1](https://github.com/LazyVim/LazyVim/compare/v12.35.0...v12.35.1 )
(2024-07-21)
### Bug Fixes
* **grug-far:** only prefill files filter when file has an extension.
Closes [#4130 ](https://github.com/LazyVim/LazyVim/issues/4130 )
([6411ab0 ](6411ab0897 ))
---
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-07-21 17:34:32 +02:00
Folke Lemaitre
6411ab0897
fix(grug-far): only prefill files filter when file has an extension. Closes #4130
2024-07-21 17:23:36 +02:00
github-actions[bot]
fca038b433
chore(main): release 12.35.0 ( #4128 )
...
🤖 I have created a release *beep* *boop*
---
##
[12.35.0](https://github.com/LazyVim/LazyVim/compare/v12.34.0...v12.35.0 )
(2024-07-21)
### Features
* **python:** default to new ruff instead of ruff_lsp
([#4126 ](https://github.com/LazyVim/LazyVim/issues/4126 ))
([61ce1cf ](61ce1cfaaf ))
---
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-07-21 15:53:07 +02:00
folke
76bc7b4022
chore(build): auto-generate docs
2024-07-21 10:25:26 +00:00
dotfrag
61ce1cfaaf
feat(python): default to new ruff instead of ruff_lsp ( #4126 )
...
## Description
Change default python ruff lsp from `ruff_lsp` to `ruff`. It is now
marked as stable. I have been using it for a few days without any
problems. I use python for relatively small to medium projects. Maybe
someone who is using python more rigorously has better feedback.
References:
https://github.com/astral-sh/ruff-lsp (see note)
https://github.com/astral-sh/ruff/releases/tag/0.5.3
https://docs.astral.sh/ruff/editors/setup/#neovim
Also the issue in https://github.com/LazyVim/LazyVim/pull/3057 has been
resolved. I tested it and I only get 1 `ruff server` process per nvim
instance. The processes close correctly when nvim is closed.
## Checklist
- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md )
guidelines.
2024-07-21 12:24:28 +02:00
github-actions[bot]
43dbe0e60d
chore(main): release 12.34.0 ( #4121 )
...
🤖 I have created a release *beep* *boop*
---
##
[12.34.0](https://github.com/LazyVim/LazyVim/compare/v12.33.0...v12.34.0 )
(2024-07-20)
### Features
* **editor:** replace nvim-spectre with grug-far.nvim
([#4099 ](https://github.com/LazyVim/LazyVim/issues/4099 ))
([0d561a3 ](0d561a3226 ))
* **indent-blankline:** add which-key toggles
([#4122 ](https://github.com/LazyVim/LazyVim/issues/4122 ))
([a997152 ](a997152eb2 ))
### Bug Fixes
* **conform:** changes for new conform.nvim config
([eed91a3 ](eed91a3e4c ))
* **toggle:** safe toggle get
([c8ab5d7 ](c8ab5d7554 ))
### Performance Improvements
* **core:** defer clipboard because xsel and pbcopy can be slow
([#4120 ](https://github.com/LazyVim/LazyVim/issues/4120 ))
([578f06e ](578f06e140 ))
---
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-07-20 22:27:04 +02:00
Shaun Clayton
a997152eb2
feat(indent-blankline): add which-key toggles ( #4122 )
...
## Description
Add which-key toggle mappings for toggling both the indention guides,
and also scope highlight on a per buffer basis.
## Screenshots

## Checklist
- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md )
guidelines.
---------
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-07-20 22:14:33 +02:00
Folke Lemaitre
c8ab5d7554
fix(toggle): safe toggle get
2024-07-20 22:06:16 +02:00
Folke Lemaitre
0d561a3226
feat(editor): replace nvim-spectre with grug-far.nvim ( #4099 )
...
## Description
I'm considering to replace
[nvim-spectre](https://github.com/nvim-pack/nvim-spectre ) with
[grug-far.nvim](https://github.com/MagicDuck/grug-far.nvim ).
It has a better ui and I like the workflow better.
I won't merge this right away. I'm mostly looking for feedback on
whether this would be a good thing and whether the defaults option I've
added seem ok.
## Related Issue(s)
<!--
If this PR fixes any issues, please link to the issue here.
- Fixes #<issue_number>
-->
## Screenshots

## Checklist
- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md )
guidelines.
2024-07-20 21:39:39 +02:00
Folke Lemaitre
eed91a3e4c
fix(conform): changes for new conform.nvim config
2024-07-20 17:14:07 +02:00
Folke Lemaitre
3d1f961232
refactor: which-key mappings
2024-07-20 17:04:01 +02:00
folke
6f91b406dd
chore(build): auto-generate docs
2024-07-20 09:49:07 +00:00