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
Folke Lemaitre
214f5fccdf
feat(prettier): with the prettier & astro extra, prettier will be enabled if the prettier-astro-plugin is available
2024-06-07 23:02:47 +02:00
Folke Lemaitre
7d50bf0626
feat(prettier): prettier is now enabled for all supported filetypes and no longer requires a config file by default
2024-06-07 23:02:47 +02:00
Folke Lemaitre
5a11d740e1
feat(util): added LazyVim.memoize
2024-06-07 23:02:47 +02:00
Folke Lemaitre
b714f28662
feat(util): added LazyVim.has_extra
2024-06-07 23:02:47 +02:00
Folke Lemaitre
c16fb5d49b
fix(formatting): remove deprecation check on some options
2024-06-07 23:02:47 +02:00
github-actions[bot]
789b1b4fd4
chore(main): release 12.9.0 ( #3501 )
...
🤖 I have created a release *beep* *boop*
---
##
[12.9.0](https://github.com/LazyVim/LazyVim/compare/v12.8.0...v12.9.0 )
(2024-06-07)
### Features
* **autocmd:** enable spell for typst and text file
([#3505 ](https://github.com/LazyVim/LazyVim/issues/3505 ))
([8ca7245
](8ca7245129
))
* **docs:** add link to LazyVim For Ambitious Developers to README
([#3504 ](https://github.com/LazyVim/LazyVim/issues/3504 ))
([2a5ab31
](2a5ab3109a
))
* **lang:** add clojure support
([#2179 ](https://github.com/LazyVim/LazyVim/issues/2179 ))
([913902b
](913902ba36
))
* **neo-tree:** added l:open and h:close_node to neo-tree. Closes
[#3293 ](https://github.com/LazyVim/LazyVim/issues/3293 )
([dbec83d
](dbec83d57a
))
* **options:** when available use treesitter spell regions for spell
checking
([276b803
](276b8032be
))
* **sql:** add SQL extra
([#1740 ](https://github.com/LazyVim/LazyVim/issues/1740 ))
([59495c1
](59495c1871
))
### Bug Fixes
* **editor:** telescope init error when trouble.nvim is disabled
([#3518 ](https://github.com/LazyVim/LazyVim/issues/3518 ))
([c452fd7
](c452fd730c
))
* **lualine:** only show one Lualine component for symbols
([#3514 ](https://github.com/LazyVim/LazyVim/issues/3514 ))
([827aa53
](827aa5380a
)),
closes [#3511 ](https://github.com/LazyVim/LazyVim/issues/3511 )
* **mini.files:** fix error about `opts.mappings`
([#3507 ](https://github.com/LazyVim/LazyVim/issues/3507 ))
([9210648
](92106484ed
))
* removed leader-m, since it is leading to too many issues. Still
available at leader-wm
([119dcb9
](119dcb949a
))
---
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 20:44:39 +02:00
antónio mora
913902ba36
feat(lang): add clojure support ( #2179 )
...
This adds support to Clojure as an extra _lang_ configuration.
Closes https://github.com/LazyVim/LazyVim/pull/1484
@folke I read the docs and couldn't find a recommendation on _how_ to
suggest features, so I figured opening a PR should be enought. please
let me know if I should do anything else.
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-06-07 17:23:23 +02:00
Folke Lemaitre
2ac3f0daa1
ci: Create dependabot.yml
2024-06-07 16:27:31 +02:00
Jørgen Jensen
94c338765c
style: fix spelling in octo keymap description ( #3521 )
2024-06-07 16:05:59 +02:00
Rubin Bhandari
c1cb4467ec
style: fix some spells ( #3517 )
2024-06-07 13:35:25 +02:00
Ray Wong
c452fd730c
fix(editor): telescope init error when trouble.nvim is disabled ( #3518 )
...
I got this error message when opening telescope.
```
Failed to run `config` for telescope.nvim
...l/share/nvim/lazy/LazyVim/lua/lazyvim/plugins/editor.lua:241: module 'trouble.sources.telescope' not found:
^Ino field package.preload['trouble.sources.telescope']
...
```
After investigating it, the reason was I have `trouble.nvim` disabled
but the default base `opts` function is loading it.
I tried wrapping it with a function to lazy load the `trouble.nvim`
module and it worked in my local setup.
2024-06-07 13:23:04 +02:00
Iordanis Petkakis
827aa5380a
fix(lualine): only show one Lualine component for symbols ( #3514 )
...
Fixes #3511
2024-06-07 12:12:05 +02:00
Folke Lemaitre
119dcb949a
fix: removed leader-m, since it is leading to too many issues. Still available at leader-wm
2024-06-07 10:53:56 +02:00
github-actions[bot]
e1c54ac638
chore(build): auto-generate vimdoc
2024-06-07 07:04:47 +00:00
Folke Lemaitre
ab41ff551b
refactor: use lazy's new opts_extend
functionality for treesitter and mason
2024-06-07 09:03:59 +02:00
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