Folke Lemaitre
f70d350085
style: comment
2024-06-07 07:02:51 +02:00
Igor Guerrero
59495c1871
feat(sql): add SQL extra ( #1740 )
...
Co-authored-by: Fredrik Averpil <fredrik.averpil@gmail.com>
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-06-06 23:27:59 +02:00
Rubin Bhandari
8ca7245129
feat(autocmd): enable spell for typst and text file ( #3505 )
2024-06-06 22:38:24 +02:00
Folke Lemaitre
276b8032be
feat(options): when available use treesitter spell regions for spell checking
2024-06-06 22:37:47 +02:00
Iordanis Petkakis
92106484ed
fix(mini.files): fix error about opts.mappings
( #3507 )
2024-06-06 20:52:40 +02:00
github-actions[bot]
1699091d70
chore(build): auto-generate vimdoc
2024-06-06 16:54:37 +00:00
Dusty Phillips
2a5ab3109a
feat(docs): add link to LazyVim For Ambitious Developers to README ( #3504 )
...
As requested, here's a link to my book from the README. I'll add the
video and this link to the main page of lazyvim.org as well.
2024-06-06 18:54:02 +02:00
Folke Lemaitre
dbec83d57a
feat(neo-tree): added l:open and h:close_node to neo-tree. Closes #3293
2024-06-06 18:05:11 +02:00
github-actions[bot]
ad092e96f9
chore(main): release 12.8.0 ( #3494 )
...
🤖 I have created a release *beep* *boop*
---
##
[12.8.0](https://github.com/LazyVim/LazyVim/compare/v12.7.0...v12.8.0 )
(2024-06-06)
### Features
* **options:** added linebreak=true to default options
([1f4c196
](1f4c1964fd
))
### Bug Fixes
* **markdown:** missing markdown-toc in mason
([#3499 ](https://github.com/LazyVim/LazyVim/issues/3499 ))
([a9aea4b
](a9aea4b5a1
))
* **mason-nvim-dap:** correctly configure to auto-install debug adapters
([#3493 ](https://github.com/LazyVim/LazyVim/issues/3493 ))
([86ba1bc
](86ba1bc62d
))
* **octo:** fixed octo's rendering of comment signs when lines are
wrapped
([81370cf
](81370cf714
))
* **octo:** load octo on `octo://*` events, so that those buffers work
after session restore
([e6443ad
](e6443ad7dc
))
* **php:** php gets recommended in every .git repo
([#3496 ](https://github.com/LazyVim/LazyVim/issues/3496 ))
([3654098
](3654098520
))
* **prettier:** fix prettier config detection. Closes
[#3497 ](https://github.com/LazyVim/LazyVim/issues/3497 )
([e51199c
](e51199cffa
))
* **prettier:** use prettier to check if prettier should run on the file
([0255b8f
](0255b8fdb1
))
---
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-06 17:44:45 +02:00
Folke Lemaitre
0255b8fdb1
fix(prettier): use prettier to check if prettier should run on the file
2024-06-06 17:38:12 +02:00
DrummyFloyd
a9aea4b5a1
fix(markdown): missing markdown-toc in mason ( #3499 )
...
missing `markdown-toc` in ensure installed for `extra/markdown`
2024-06-06 16:22:40 +02:00
Folke Lemaitre
e51199cffa
fix(prettier): fix prettier config detection. Closes #3497
2024-06-06 16:15:39 +02:00
Iordanis Petkakis
3654098520
fix(php): php gets recommended in every .git repo ( #3496 )
2024-06-06 16:07:39 +02:00
Folke Lemaitre
81370cf714
fix(octo): fixed octo's rendering of comment signs when lines are wrapped
2024-06-06 16:05:55 +02:00
Folke Lemaitre
1f4c1964fd
feat(options): added linebreak=true to default options
2024-06-06 16:05:23 +02:00
Folke Lemaitre
e6443ad7dc
fix(octo): load octo on octo://*
events, so that those buffers work after session restore
2024-06-06 14:58:44 +02:00
Iordanis Petkakis
86ba1bc62d
fix(mason-nvim-dap): correctly configure to auto-install debug adapters ( #3493 )
...
Tested with `php` and `kotlin` Extras.
`kotlin` Extra doesn't have the debug adapter in Mason
`ensure_installed` and doesn't install automatically on its own.
`php` Extra has the debug adapter defined in Mason `ensure_installed`
and does correctly install automatically. However, this should not be
needed due to `mason-nvim-dap`. If you remove [these
lines](ed93ce9c15/lua/lazyvim/plugins/extras/lang/php.lua (L26-L33)
),
then the debug adapter doesn't automatically install, but it should.
With the change introduced in this PR, both Extras automatically install
the debug adapters. `kotlin` Extra doesn't need anything else and in
`php` Extra the lines I mentioned previously can be removed or not. The
point is not to remove previously Mason dependencies with debug
adapters, but to correctly configure `mason-nvim-dap`, so in future
Extras you don't have to define the debug adapter inside a Mason
dependency.
2024-06-06 14:35:59 +02:00
github-actions[bot]
ed93ce9c15
chore(main): release 12.7.0 ( #3490 )
...
🤖 I have created a release *beep* *boop*
---
##
[12.7.0](https://github.com/LazyVim/LazyVim/compare/v12.6.0...v12.7.0 )
(2024-06-06)
### Features
* **extras:** add thrift lang support
([#2804 ](https://github.com/LazyVim/LazyVim/issues/2804 ))
([5a19f6b
](5a19f6b5fe
))
* **extras:** added extra for neogen. Closes
[#2881 ](https://github.com/LazyVim/LazyVim/issues/2881 )
([6fd2c88
](6fd2c88024
))
* **extras:** added gleam lang support
([#2802 ](https://github.com/LazyVim/LazyVim/issues/2802 ))
([1891b02
](1891b02d9d
))
* **lang:** add elm
([#3023 ](https://github.com/LazyVim/LazyVim/issues/3023 ))
([4742390
](4742390960
))
* **lang:** added php support
([#1450 ](https://github.com/LazyVim/LazyVim/issues/1450 ))
([32ba8ea
](32ba8ea3fe
))
---
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-06 13:46:20 +02:00
Andrea C from The App
4742390960
feat(lang): add elm ( #3023 )
...
Adding https://elm-lang.org support.
- Adds `elm` Treesitter parsers
- Adds `elm-language-server` language server
- Adds `elm-format` formatter
## LSP Configuration
The default
[elm-language-server](https://github.com/elm-tooling/elm-language-server )
configuration matches all [currently supported features for Neovim
LSP](https://github.com/elm-tooling/elm-language-server#editor-support ).
## A note on elm-test and elm-review
`elm-test` is not directly supported by [neo-test](../test/neotest) but
it's available via
[neotest-vim-test](https://github.com/nvim-neotest/neotest-vim-test ).
However, it is common practice to peruse both
[elm-test](https://github.com/elm-explorations/test/ ) and
[elm-review](https://github.com/jfmengels/elm-review ) directly via the
command line.
---------
Co-authored-by: gacallea <gacallea@users.noreply.github.com>
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-06-06 13:36:02 +02:00
李晓辉
5a19f6b5fe
feat(extras): add thrift lang support ( #2804 )
...
This PR adds support for thriftls, the first line is because thrift is
not among the neovim built-in file types.
---------
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-06-06 13:30:17 +02:00
hacktivista
32ba8ea3fe
feat(lang): added php support ( #1450 )
...
Configures tree-sitter, phpactor as LSP server and
xdebug/vscode-php-debug as DAP server.
---------
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-06-06 13:26:51 +02:00
Jiri Luzny
1891b02d9d
feat(extras): added gleam lang support ( #2802 )
...
Added [Gleam lang](https://gleam.run/ ) support.
---------
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-06-06 13:23:29 +02:00
Folke Lemaitre
6fd2c88024
feat(extras): added extra for neogen. Closes #2881
2024-06-06 13:14:04 +02:00
github-actions[bot]
43e4f635d6
chore(main): release 12.6.0 ( #3467 )
...
🤖 I have created a release *beep* *boop*
---
##
[12.6.0](https://github.com/LazyVim/LazyVim/compare/v12.5.0...v12.6.0 )
(2024-06-06)
### Features
* **bufferline:** allow custom icons for filetypes
([bac4bba
](bac4bba016
))
* **extras:** added extra for octo.nvim. Make sure to update lazy.nvim,
which-key.nvim and also update tokyonight if you use that theme.
([100c579
](100c5793c8
))
* **extras:** added new `git` extra with treesitter and issue/pr support
([91a5fc1
](91a5fc10e6
))
* **extras:** allow recommended to be the args for LazyVim.extras.wants
([502602e
](502602e4a2
))
* **git:** added leader-gB to browse remotes of the current repo
([c4ccd7c
](c4ccd7cbce
))
* **keymaps:** add neotest toggle watch keymap
([#3073 ](https://github.com/LazyVim/LazyVim/issues/3073 ))
([4d16296
](4d1629605b
))
* **lang:** add nix language support
([#2956 ](https://github.com/LazyVim/LazyVim/issues/2956 ))
([9eae3e0
](9eae3e015a
))
* **lint:** added support for prepend_args to nvim-lint. Fixes
[#1887 ](https://github.com/LazyVim/LazyVim/issues/1887 )
([4ab123f
](4ab123fb31
))
* **lsp:** simpler API to deal with code actions
([1bd4d2f
](1bd4d2fc72
))
* **mini.files:** add cwd and vertical/horizontal keybindings to
mini.files ([#2695 ](https://github.com/LazyVim/LazyVim/issues/2695 ))
([393aa44
](393aa44e66
)),
closes [#2692 ](https://github.com/LazyVim/LazyVim/issues/2692 )
* **nushell:** add minimal support
([#2416 ](https://github.com/LazyVim/LazyVim/issues/2416 ))
([4ef42b4
](4ef42b4578
))
* **prettier:** the prettier extra now needs a prettier config file by
default. See docs to change this.
([8ceccd7
](8ceccd71e2
))
* **treesitter:** add printf
([#2450 ](https://github.com/LazyVim/LazyVim/issues/2450 ))
([0a2f40c
](0a2f40c2fb
))
* **typescript:** open locations from lsp execute command with trouble
for vtsls
([a636bf2
](a636bf2022
))
### Bug Fixes
* **angular:** re-fix angular html treesitter
([#3488 ](https://github.com/LazyVim/LazyVim/issues/3488 ))
([fd4c38b
](fd4c38bc2b
))
* **angular:** treesitter not enabled for angular templates
([#3469 ](https://github.com/LazyVim/LazyVim/issues/3469 ))
([24af74e
](24af74eed6
))
* **git:** added recommended
([88db9c5
](88db9c5192
))
* **kotlin:** kotlin plugin messages and code maintain consistency
([#3291 ](https://github.com/LazyVim/LazyVim/issues/3291 ))
([2244af1
](2244af1a86
))
* **lualine:** don't override user's laststatus setting. See
[#3486 ](https://github.com/LazyVim/LazyVim/issues/3486 )
([4d8d597
](4d8d597a3f
))
* **svelte:** added organize imports and prettier
([#3466 ](https://github.com/LazyVim/LazyVim/issues/3466 ))
([e0a0123
](e0a0123b18
))
* **svelte:** disable prettier integration for svelte for now. See
[#3466 ](https://github.com/LazyVim/LazyVim/issues/3466 )
([9a11623
](9a1162314f
))
* **typecript:** remove dependency on `nvim-vtsls`. Not needed anymore
([cae2c22
](cae2c226b5
))
* **ui:** remove extra space in extras ui
([#3481 ](https://github.com/LazyVim/LazyVim/issues/3481 ))
([2c2b6f2
](2c2b6f200c
))
* **which-key:** use new which-key support for native group keymaps
(nop)
([8010f50
](8010f50aa5
))
---
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-06 12:50:45 +02:00
Amaan Qureshi
0a2f40c2fb
feat(treesitter): add printf ( #2450 )
...
```c
printf("%s\n", "Finally!");
```
2024-06-06 12:42:09 +02:00
Mykhailo Sabatura
fd4c38bc2b
fix(angular): re-fix angular html treesitter ( #3488 )
...
This was previously attemped to be fixed by
https://github.com/LazyVim/LazyVim/pull/3469 , which caused an issue with
angular LSP.
The PR was reverted as mentioned in
https://github.com/LazyVim/LazyVim/pull/3485 .
This PR implements suggestion by @folke, which fixes treesitter without
breaking LSP.
2024-06-06 12:31:25 +02:00
Folke Lemaitre
88db9c5192
fix(git): added recommended
2024-06-06 12:29:53 +02:00
Folke Lemaitre
100c5793c8
feat(extras): added extra for octo.nvim. Make sure to update lazy.nvim, which-key.nvim and also update tokyonight if you use that theme.
2024-06-06 12:25:11 +02:00
Folke Lemaitre
91a5fc10e6
feat(extras): added new git
extra with treesitter and issue/pr support
2024-06-06 12:24:00 +02:00
Folke Lemaitre
4d8d597a3f
fix(lualine): don't override user's laststatus setting. See #3486
2024-06-06 11:16:36 +02:00
Folke Lemaitre
2bbc7e179d
Revert "fix(angular): treesitter not enabled for angular templates ( #3469 )"
...
This reverts commit 24af74eed6
.
2024-06-06 10:54:43 +02:00
Arthur
2244af1a86
fix(kotlin): kotlin plugin messages and code maintain consistency ( #3291 )
...
### Description
I am the author of this
[PR](https://github.com/LazyVim/LazyVim/pull/2890 ).
While reviewing my own code and checking the LazyVim official website, I
noticed some inconsistencies 😓 , so I created a small PR to address
them:
### Changes
1.Each optional plugin has a comment message indicating that the plugin
is optional, but DAP does not (as shown in the image). Since the
official website already has an "optional" in title.
**I removed the comment messages regarding "optional" to avoid
confusion**.
<img width="300" alt="Screenshot 2024-05-23 at 10 31 38 PM"
src="https://github.com/LazyVim/LazyVim/assets/82575487/441979fc-20dd-4599-a91d-f27bc0841d79 ">
---
2. I changed the DAP to use local variables for DAP to maintain
consistency, even though both require statements reference the same
module.
2024-06-06 10:53:58 +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
Folke Lemaitre
bac4bba016
feat(bufferline): allow custom icons for filetypes
2024-06-06 10:46:56 +02:00
Folke Lemaitre
c4ccd7cbce
feat(git): added leader-gB to browse remotes of the current repo
2024-06-06 10:46:56 +02:00
github-actions[bot]
86811ad7aa
chore(build): auto-generate vimdoc
2024-06-06 04:10:32 +00:00
Aleksey Imuzov
2c2b6f200c
fix(ui): remove extra space in extras ui ( #3481 )
...
Remove extra space between icon and text (for source label).
## Before:
<img width="1893" alt="image"
src="https://github.com/LazyVim/LazyVim/assets/3313023/7778e103-729a-4231-bb23-0482ae9d8506 ">
## After:
<img width="1893" alt="image"
src="https://github.com/LazyVim/LazyVim/assets/3313023/b8e6b4d3-2554-4312-b7d3-7fd5b8c146d4 ">
2024-06-06 06:09:58 +02:00
Mykhailo Sabatura
24af74eed6
fix(angular): treesitter not enabled for angular templates ( #3469 )
...
## Problem
Treesitter was not working in angular html templates after enabling
`lang.angular` extra.
## Solution
Added a change recommeded by angular treesitter developer to enable
treesitter for components and containers.
### Reference to recommendation in treesitter docs
[Reference to the recommendation for this
hack](https://github.com/dlvandenberg/tree-sitter-angular?tab=readme-ov-file#filetype ).
2024-06-06 00:01:42 +02:00
Kevin Traver
4d1629605b
feat(keymaps): add neotest toggle watch keymap ( #3073 )
2024-06-05 23:46:21 +02:00
Izel Nakri | izelnakri.eth
9eae3e015a
feat(lang): add nix language support ( #2956 )
...
In the future we can add:
- dap / debugger support, if this is ever possible or needed.
- extend neotest, if this is ever needed, for most people I suspect not
needed.
- linting, if this is ever needed.
- ~~maybe enhance nvim-cmp behavior with nixpkgs, rust lang extension
crates.nvim does smt with nvim-cmp, other language extensions don't.~~
I think its already good to merge this PR, we can add these enhancements
later, if they are ever needed.
---------
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-06-05 23:44:43 +02:00
Binh Tran
4ef42b4578
feat(nushell): add minimal support ( #2416 )
...
## Description
This will add minimal support for [Nushell](https://www.nushell.sh/ )
include lspconfig and treesitter highlight
## Additional Context
Close #2164
---------
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-06-05 23:35:46 +02:00
Folke Lemaitre
502602e4a2
feat(extras): allow recommended to be the args for LazyVim.extras.wants
2024-06-05 23:35:14 +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
Folke Lemaitre
d704ca4c1b
ci: feature template
2024-06-05 23:11:06 +02:00
Folke Lemaitre
4ab123fb31
feat(lint): added support for prepend_args to nvim-lint. Fixes #1887
2024-06-05 23:02:19 +02:00
Folke Lemaitre
8ceccd71e2
feat(prettier): the prettier extra now needs a prettier config file by default. See docs to change this.
2024-06-05 22:55:36 +02:00
Folke Lemaitre
9a1162314f
fix(svelte): disable prettier integration for svelte for now. See #3466
2024-06-05 22:20:35 +02:00
Folke Lemaitre
cae2c226b5
fix(typecript): remove dependency on nvim-vtsls
. Not needed anymore
2024-06-05 22:19:44 +02:00
Folke Lemaitre
a636bf2022
feat(typescript): open locations from lsp execute command with trouble for vtsls
2024-06-05 22:19:19 +02:00
Folke Lemaitre
1bd4d2fc72
feat(lsp): simpler API to deal with code actions
2024-06-05 22:18:14 +02:00