Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

which-key v3 update #1022

Merged
merged 2 commits into from
Jul 16, 2024
Merged

which-key v3 update #1022

merged 2 commits into from
Jul 16, 2024

Conversation

VlaDexa
Copy link
Contributor

@VlaDexa VlaDexa commented Jul 13, 2024

which-key recently had a v3 update and depreciated the register function, replacing it with an add function.

Also it's a bit more clear now, since there is now no empty map

M0hanrajp referenced this pull request in M0hanrajp/dev-workflow Jul 14, 2024
M0hanrajp referenced this pull request in M0hanrajp/dev-workflow Jul 14, 2024
Raven-bit added a commit to Raven-bit/dotfiles that referenced this pull request Jul 15, 2024
@zjtalia
Copy link

zjtalia commented Jul 15, 2024

For context, this change matches the suggested fix from :checkhealth which-key:

- WARNING You're using an old version of the which-key spec.
  Your mappings will work, but it's recommended to update them to the new version.
  Please check the docs and suggested spec below for more info.
  Mappings: >
  {
    ["<leader>c"] = {
      _ = "which_key_ignore",
      name = "[C]ode"
    },
    ["<leader>d"] = {
      _ = "which_key_ignore",
      name = "[D]ocument"
    },
    ["<leader>h"] = {
      _ = "which_key_ignore",
      name = "Git [H]unk"
    },
    ["<leader>r"] = {
      _ = "which_key_ignore",
      name = "[R]ename"
    },
    ["<leader>s"] = {
      _ = "which_key_ignore",
      name = "[S]earch"
    },
    ["<leader>t"] = {
      _ = "which_key_ignore",
      name = "[T]oggle"
    },
    ["<leader>w"] = {
      _ = "which_key_ignore",
      name = "[W]orkspace"
    }
  }
  
  -- Suggested Spec:
  {
    { "<leader>c", group = "[C]ode" },
    { "<leader>c_", hidden = true },
    { "<leader>d", group = "[D]ocument" },
    { "<leader>d_", hidden = true },
    { "<leader>h", group = "Git [H]unk" },
    { "<leader>h_", hidden = true },
    { "<leader>r", group = "[R]ename" },
    { "<leader>r_", hidden = true },
    { "<leader>s", group = "[S]earch" },
    { "<leader>s_", hidden = true },
    { "<leader>t", group = "[T]oggle" },
    { "<leader>t_", hidden = true },
    { "<leader>w", group = "[W]orkspace" },
    { "<leader>w_", hidden = true },
  }

@tjdevries tjdevries merged commit f5c9195 into nvim-lua:master Jul 16, 2024
1 check passed
@tjdevries
Copy link
Member

Thanks!!

@VlaDexa
Copy link
Contributor Author

VlaDexa commented Jul 16, 2024

We're so back

ge3224 pushed a commit to ge3224/nvimconf that referenced this pull request Jul 16, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
mariusfa pushed a commit to mariusfa/kickstart.nvim that referenced this pull request Jul 17, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
tybl added a commit to tybl/kickstart.nvim that referenced this pull request Jul 17, 2024
* which-key v3 update (nvim-lua#1022)

* which-key v3 update

* remove unneeded brackets from which-key registration

* fix(lazy): added error handling for bootstrap (nvim-lua#1001)

---------

Co-authored-by: Vladislav Grechannik <[email protected]>
Co-authored-by: Folke Lemaitre <[email protected]>
andreiblt1304 pushed a commit to andreiblt1304/Nvim-Configuration that referenced this pull request Jul 17, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
@rmacklin
Copy link
Contributor

rmacklin commented Jul 18, 2024

@tjdevries very happy to see PRs getting merged! Anything we can do to help get some of the other PRs moved forward?

I'm especially interested in the ones related to neovim 0.10 - if the main pushback is wanting to allow folks stuck on 0.9 to use kickstart, maybe we could create an 0.9 tag (or branch) that they could use, while allowing the project to embrace 0.10 on master?

cdf144 added a commit to cdf144/kickstart.nvim that referenced this pull request Jul 18, 2024
commit 2df5137
Author: TJ DeVries <[email protected]>
Date:   Wed Jul 17 21:37:31 2024 -0400

    fix: add required parsers from nvim-treesitter

commit 3e55ff1
Author: Folke Lemaitre <[email protected]>
Date:   Tue Jul 16 18:06:47 2024 +0200

    fix(lazy): added error handling for bootstrap (nvim-lua#1001)

commit f5c9195
Author: Vladislav Grechannik <[email protected]>
Date:   Tue Jul 16 18:05:40 2024 +0200

    which-key v3 update (nvim-lua#1022)

    * which-key v3 update

    * remove unneeded brackets from which-key registration
codemedic added a commit to codemedic/kickstart.nvim that referenced this pull request Jul 18, 2024
* master:
  fix: add required parsers from nvim-treesitter
  fix(lazy): added error handling for bootstrap (nvim-lua#1001)
  which-key v3 update (nvim-lua#1022)
bankair pushed a commit to bankair/kickstart.nvim that referenced this pull request Jul 20, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
Zsmith32 pushed a commit to Zsmith32/kickstart.nvim that referenced this pull request Jul 20, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
cbat98 added a commit to cbat98/kickstart.nvim that referenced this pull request Jul 22, 2024
commit 6f3fe35
Author: srdtrk <[email protected]>
Date:   Mon Jul 22 04:21:21 2024 +0200

    lint: fix lsp warning in `vim.lsp.inlay_hint.is_enabled` (nvim-lua#947)

    * fix: lsp warning

    * review suggestion

    Co-authored-by: Tom Kuson <[email protected]>

    ---------

    Co-authored-by: Tom Kuson <[email protected]>

commit 6207327
Author: Richard Macklin <[email protected]>
Date:   Sun Jul 21 19:08:09 2024 -0700

    Update lazydev config to fix "Undefined field `fs_stat`" LSP error (nvim-lua#1040)

    7513ec8 switched from neodev to
    lazydev, but in the process it introduced an LSP error in `init.lua`,
    which degrades the desired "first timer" experience of kickstart.nvim.

    This commit follows the configuration suggested in
    https://github.com/folke/lazydev.nvim/tree/6184ebbbc8045d70077659b7d30c705a588dc62f#-installation
    which resolves the LSP error.

commit 7513ec8
Author: Vladislav Grechannik <[email protected]>
Date:   Mon Jul 22 02:35:07 2024 +0200

    Neovim 0.10 updates (nvim-lua#936)

    * Neovim 0.10 updates

    Provide the buffer for which to enable inlay hints

    Co-authored-by: Matt Mirus <[email protected]>

    * refactor: replace vim.loop with vim.uv

    * Upgrade folke/neodev (sunsetting) to folke/lazydev

    * Update checkhealth for 0.10 release

    ---------

    Co-authored-by: Matt Mirus <[email protected]>
    Co-authored-by: mrr11k <[email protected]>
    Co-authored-by: Seb Tomasini <[email protected]>

commit 07a9f44
Author: Richard Macklin <[email protected]>
Date:   Sun Jul 21 13:34:51 2024 -0700

    Fix comment about mini.ai example (nvim-lua#985)

    This example wasn't using `'` so this makes more sense

commit b36d84d
Author: Vladislav Grechannik <[email protected]>
Date:   Sun Jul 21 22:34:17 2024 +0200

    Make conform.nvim be lazy-loadable again (nvim-lua#977)

    The PR that disabled lazy loading (nvim-lua#818) was to fix plugin not being
    loaded before write. This sets up lazy to load conform before write.

commit c405d3f
Author: Artyom <[email protected]>
Date:   Sun Jul 21 23:33:26 2024 +0300

    Update README.md | %userprofile%\appdata\local -> %localappdata% (nvim-lua#963)

    - Replace `%userprofile%\AppData\Local\nvim\` and `$env:USERPROFILE\AppData\Local\nvim` to `%localappdata%\nvim` and `$env:LOCALAPPDATA\nvim respectfully`

commit 4bbca64
Author: Vladislav Grechannik <[email protected]>
Date:   Sun Jul 21 22:24:57 2024 +0200

    Make debug lazy loadable (nvim-lua#978)

commit 1cdf6fb
Author: Tom Kuson <[email protected]>
Date:   Sun Jul 21 22:22:44 2024 +0200

    Remove redundant require (nvim-lua#959)

commit 202910d
Author: Damjan 9000 <[email protected]>
Date:   Sun Jul 21 22:22:10 2024 +0200

    Fix neo-tree keymap description (nvim-lua#932)

    The lazy.nvim keys parameter does not need the `desc` to
    be inside a table in the way that vim.keymap.set() does.
    With this fix the keymap description will be properly
    shown for example in telescope keymap search

commit 2df5137
Author: TJ DeVries <[email protected]>
Date:   Wed Jul 17 21:37:31 2024 -0400

    fix: add required parsers from nvim-treesitter

commit 3e55ff1
Author: Folke Lemaitre <[email protected]>
Date:   Tue Jul 16 18:06:47 2024 +0200

    fix(lazy): added error handling for bootstrap (nvim-lua#1001)

commit f5c9195
Author: Vladislav Grechannik <[email protected]>
Date:   Tue Jul 16 18:05:40 2024 +0200

    which-key v3 update (nvim-lua#1022)

    * which-key v3 update

    * remove unneeded brackets from which-key registration
Merge remote-tracking branch 'upstream/master'
cdf144 added a commit to cdf144/kickstart.nvim that referenced this pull request Jul 23, 2024
commit 56b9114
Author: Richard Macklin <[email protected]>
Date:   Mon Jul 22 10:00:35 2024 -0700

    Update comment about the toggle inlay hints keymap (nvim-lua#1041)

commit 6f3fe35
Author: srdtrk <[email protected]>
Date:   Mon Jul 22 04:21:21 2024 +0200

    lint: fix lsp warning in `vim.lsp.inlay_hint.is_enabled` (nvim-lua#947)

    * fix: lsp warning

    * review suggestion

    Co-authored-by: Tom Kuson <[email protected]>

    ---------

    Co-authored-by: Tom Kuson <[email protected]>

commit 6207327
Author: Richard Macklin <[email protected]>
Date:   Sun Jul 21 19:08:09 2024 -0700

    Update lazydev config to fix "Undefined field `fs_stat`" LSP error (nvim-lua#1040)

    7513ec8 switched from neodev to
    lazydev, but in the process it introduced an LSP error in `init.lua`,
    which degrades the desired "first timer" experience of kickstart.nvim.

    This commit follows the configuration suggested in
    https://github.com/folke/lazydev.nvim/tree/6184ebbbc8045d70077659b7d30c705a588dc62f#-installation
    which resolves the LSP error.

commit 7513ec8
Author: Vladislav Grechannik <[email protected]>
Date:   Mon Jul 22 02:35:07 2024 +0200

    Neovim 0.10 updates (nvim-lua#936)

    * Neovim 0.10 updates

    Provide the buffer for which to enable inlay hints

    Co-authored-by: Matt Mirus <[email protected]>

    * refactor: replace vim.loop with vim.uv

    * Upgrade folke/neodev (sunsetting) to folke/lazydev

    * Update checkhealth for 0.10 release

    ---------

    Co-authored-by: Matt Mirus <[email protected]>
    Co-authored-by: mrr11k <[email protected]>
    Co-authored-by: Seb Tomasini <[email protected]>

commit 07a9f44
Author: Richard Macklin <[email protected]>
Date:   Sun Jul 21 13:34:51 2024 -0700

    Fix comment about mini.ai example (nvim-lua#985)

    This example wasn't using `'` so this makes more sense

commit b36d84d
Author: Vladislav Grechannik <[email protected]>
Date:   Sun Jul 21 22:34:17 2024 +0200

    Make conform.nvim be lazy-loadable again (nvim-lua#977)

    The PR that disabled lazy loading (nvim-lua#818) was to fix plugin not being
    loaded before write. This sets up lazy to load conform before write.

commit c405d3f
Author: Artyom <[email protected]>
Date:   Sun Jul 21 23:33:26 2024 +0300

    Update README.md | %userprofile%\appdata\local -> %localappdata% (nvim-lua#963)

    - Replace `%userprofile%\AppData\Local\nvim\` and `$env:USERPROFILE\AppData\Local\nvim` to `%localappdata%\nvim` and `$env:LOCALAPPDATA\nvim respectfully`

commit 4bbca64
Author: Vladislav Grechannik <[email protected]>
Date:   Sun Jul 21 22:24:57 2024 +0200

    Make debug lazy loadable (nvim-lua#978)

commit 1cdf6fb
Author: Tom Kuson <[email protected]>
Date:   Sun Jul 21 22:22:44 2024 +0200

    Remove redundant require (nvim-lua#959)

commit 202910d
Author: Damjan 9000 <[email protected]>
Date:   Sun Jul 21 22:22:10 2024 +0200

    Fix neo-tree keymap description (nvim-lua#932)

    The lazy.nvim keys parameter does not need the `desc` to
    be inside a table in the way that vim.keymap.set() does.
    With this fix the keymap description will be properly
    shown for example in telescope keymap search

commit 2df5137
Author: TJ DeVries <[email protected]>
Date:   Wed Jul 17 21:37:31 2024 -0400

    fix: add required parsers from nvim-treesitter

commit 3e55ff1
Author: Folke Lemaitre <[email protected]>
Date:   Tue Jul 16 18:06:47 2024 +0200

    fix(lazy): added error handling for bootstrap (nvim-lua#1001)

commit f5c9195
Author: Vladislav Grechannik <[email protected]>
Date:   Tue Jul 16 18:05:40 2024 +0200

    which-key v3 update (nvim-lua#1022)

    * which-key v3 update

    * remove unneeded brackets from which-key registration
Alessandro201 pushed a commit to Alessandro201/kickstart.nvim that referenced this pull request Jul 25, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
veechiecooqu pushed a commit to veechiecooqu/kickstart.nvim that referenced this pull request Jul 26, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
Peter-McKinney added a commit to Peter-McKinney/pete.nvim that referenced this pull request Jul 27, 2024
* Add diff to treesitter's ensure_installed languages (nvim-lua#908)

* fix: debug.lua (nvim-lua#918)

* Automatically set detached state as needed. (nvim-lua#925)

* Automatically set detached state as needed.

* Use vim.fn.has instead.

* Fix int vs bool.

* which-key v3 update (nvim-lua#1022)

* which-key v3 update

* remove unneeded brackets from which-key registration

* fix(lazy): added error handling for bootstrap (nvim-lua#1001)

* fix: add required parsers from nvim-treesitter

* Fix neo-tree keymap description (nvim-lua#932)

The lazy.nvim keys parameter does not need the `desc` to
be inside a table in the way that vim.keymap.set() does.
With this fix the keymap description will be properly
shown for example in telescope keymap search

* Remove redundant require (nvim-lua#959)

* Make debug lazy loadable (nvim-lua#978)

* Update README.md | %userprofile%\appdata\local -> %localappdata% (nvim-lua#963)

- Replace `%userprofile%\AppData\Local\nvim\` and `$env:USERPROFILE\AppData\Local\nvim` to `%localappdata%\nvim` and `$env:LOCALAPPDATA\nvim respectfully`

* Make conform.nvim be lazy-loadable again (nvim-lua#977)

The PR that disabled lazy loading (nvim-lua#818) was to fix plugin not being
loaded before write. This sets up lazy to load conform before write.

* Fix comment about mini.ai example (nvim-lua#985)

This example wasn't using `'` so this makes more sense

* Neovim 0.10 updates (nvim-lua#936)

* Neovim 0.10 updates

Provide the buffer for which to enable inlay hints

Co-authored-by: Matt Mirus <[email protected]>

* refactor: replace vim.loop with vim.uv

* Upgrade folke/neodev (sunsetting) to folke/lazydev

* Update checkhealth for 0.10 release

---------

Co-authored-by: Matt Mirus <[email protected]>
Co-authored-by: mrr11k <[email protected]>
Co-authored-by: Seb Tomasini <[email protected]>

* Update lazydev config to fix "Undefined field `fs_stat`" LSP error (nvim-lua#1040)

7513ec8 switched from neodev to
lazydev, but in the process it introduced an LSP error in `init.lua`,
which degrades the desired "first timer" experience of kickstart.nvim.

This commit follows the configuration suggested in
https://github.com/folke/lazydev.nvim/tree/6184ebbbc8045d70077659b7d30c705a588dc62f#-installation
which resolves the LSP error.

* lint: fix lsp warning in `vim.lsp.inlay_hint.is_enabled` (nvim-lua#947)

* fix: lsp warning

* review suggestion

Co-authored-by: Tom Kuson <[email protected]>

---------

Co-authored-by: Tom Kuson <[email protected]>

* Update comment about the toggle inlay hints keymap (nvim-lua#1041)

* Remove hint toggle in favor of default

---------

Co-authored-by: Richard Macklin <[email protected]>
Co-authored-by: Smig <[email protected]>
Co-authored-by: Per Malmberg <[email protected]>
Co-authored-by: Vladislav Grechannik <[email protected]>
Co-authored-by: Folke Lemaitre <[email protected]>
Co-authored-by: TJ DeVries <[email protected]>
Co-authored-by: Damjan 9000 <[email protected]>
Co-authored-by: Tom Kuson <[email protected]>
Co-authored-by: Artyom <[email protected]>
Co-authored-by: Matt Mirus <[email protected]>
Co-authored-by: mrr11k <[email protected]>
Co-authored-by: Seb Tomasini <[email protected]>
Co-authored-by: srdtrk <[email protected]>
benwis pushed a commit to benwis/kickstart.nvim that referenced this pull request Jul 29, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
BartoszSadowski pushed a commit to BartoszSadowski/kickstart.nvim that referenced this pull request Aug 2, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
johnlonganecker pushed a commit to johnlonganecker/kickstart.nvim that referenced this pull request Aug 5, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
hundrog pushed a commit to hundrog/kickstart.nvim that referenced this pull request Aug 9, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
melito00 pushed a commit to melito00/kickstart.nvim that referenced this pull request Aug 10, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
JustinRyanH pushed a commit to JustinRyanH/kickstart.nvim that referenced this pull request Aug 24, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
ldraney pushed a commit to ldraney/kickstart.nvim that referenced this pull request Aug 27, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
m-murphy pushed a commit to m-murphy/kickstart.nvim that referenced this pull request Sep 4, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
marijnMeerveld pushed a commit to marijnMeerveld/kickstart.nvim that referenced this pull request Sep 5, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
yulqen pushed a commit to yulqen/kickstart.nvim that referenced this pull request Sep 9, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
abouthugo added a commit to abouthugo/kickstart.nvim that referenced this pull request Sep 9, 2024
* Add nvim-nio as dependency for nvim-dap-ui (nvim-lua#774)

It's a dependency now

* Update README.md (nvim-lua#781)

The recommended step of forking the repo coming sequentially after the step instructing users to clone the current repo doesn't make sense.

This commit orders the install instructions in a manner that's more logical.

* README: wrap long lines (nvim-lua#784)

* fix nvim-lua#799 (nvim-lua#800)

Add `'luadoc'`, to the `ensure_installed` of `nvim-treesitter/nvim-treesitter`

* Add instructions to quit :lazy. Fixes nvim-lua#761

* Add a keymap space-f to format buffer using conform (nvim-lua#817)

This works also for visual range selection
Copied from conform recipe:
https://github.com/stevearc/conform.nvim/blob/master/doc/recipes.md

* Don't lazy load conform plugin (nvim-lua#818)

* README: move backup and paths from external deps to install section (nvim-lua#819)

* Add a pull request template (nvim-lua#825)

* Update README (nvim-lua#832)

* Arch, btw (nvim-lua#852)

* Arch, btw

* Add unzip

* Add unzip for Fedora and --needed arg for Arch

* Comment about nerd font selection. Fixes nvim-lua#853 (nvim-lua#854)

* Fix: nvim-lua#847 - add prefer_git to treesitter config (nvim-lua#856)

* Enable inlay hints for the supporting servers (nvim-lua#843)

* Move plugin examples from README to optional plugin files (nvim-lua#831)

* Move autopairs example from README to an optional plugin

* Move neo-tree example from README to an optional plugin

* Add gitsigns recommended keymaps as an optional plugin (nvim-lua#858)

* fix: restore Mason config timing for DAP startup (again) (nvim-lua#865)

* Update README.md (nvim-lua#860)

Attempted fix for nvim-lua#859, provide reasonable Debian install instructions -- comment on GitHub issue with refinement.

* Minor improvements of debian install instructions. Fixes nvim-lua#859 (nvim-lua#869)

* Add a commented out example of the classic complete keymaps. Fixes nvim-lua#866 (nvim-lua#868)

* Fix deprecation notice of inlay hints (nvim-lua#873)

* Fix highlight errors when lsp crash or stop (nvim-lua#864)

* Fix highlight errors when lsp crash or stop

It adds a check wether the client is still available before
highlighting.

If the client is not there anymore it returns `true` to unregister the
autocommand

This fix the
`method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer`
errors when doing a LspRestart or the server crashes

* Delete the highlight autocommands in the LspDetatch event

* Only delete autocmds for the current buffer with the group name

* Simplify clearing the autocommands

---------

Co-authored-by: Francis Belanger <[email protected]>

* fix: highlight group clear on each attach (nvim-lua#874)

* Update README.md (nvim-lua#875)

Line 102. Placed 'also' before the 'includes'.

"That includes also examples of adding popularly requested plugins." ---> "That also includes examples of adding popularly requested plugins."

* README: add clipboard tool dependency (nvim-lua#886)

Fixes: nvim-lua#884
Neovim requires an external tool for proper system clipboard integration.
Some systems install this already by default:
- on Fedora xsel is already installed by default
- on Windows using the choko install the win32yank is alredy installed
This is not installed by default on ubuntu or debian so adding that
to the dependencies list and to the install instructions snippets.

* Move LspDetach handler near kickstart-lsp-highlight group (nvim-lua#900)

Moved to make sure the kickstart-lsp-highlight group exists when
the LspDetach handler is invoked. The LspDetach handler is used
to clean up any lsp highlights that were enabled by CursorHold
if the LSP is stopped or crashed.

* Add diff to treesitter's ensure_installed languages (nvim-lua#908)

* fix: debug.lua (nvim-lua#918)

* Automatically set detached state as needed. (nvim-lua#925)

* Automatically set detached state as needed.

* Use vim.fn.has instead.

* Fix int vs bool.

* which-key v3 update (nvim-lua#1022)

* which-key v3 update

* remove unneeded brackets from which-key registration

* fix(lazy): added error handling for bootstrap (nvim-lua#1001)

* fix: add required parsers from nvim-treesitter

* Fix neo-tree keymap description (nvim-lua#932)

The lazy.nvim keys parameter does not need the `desc` to
be inside a table in the way that vim.keymap.set() does.
With this fix the keymap description will be properly
shown for example in telescope keymap search

* Remove redundant require (nvim-lua#959)

* Make debug lazy loadable (nvim-lua#978)

* Update README.md | %userprofile%\appdata\local -> %localappdata% (nvim-lua#963)

- Replace `%userprofile%\AppData\Local\nvim\` and `$env:USERPROFILE\AppData\Local\nvim` to `%localappdata%\nvim` and `$env:LOCALAPPDATA\nvim respectfully`

* Make conform.nvim be lazy-loadable again (nvim-lua#977)

The PR that disabled lazy loading (nvim-lua#818) was to fix plugin not being
loaded before write. This sets up lazy to load conform before write.

* Fix comment about mini.ai example (nvim-lua#985)

This example wasn't using `'` so this makes more sense

* Neovim 0.10 updates (nvim-lua#936)

* Neovim 0.10 updates

Provide the buffer for which to enable inlay hints

Co-authored-by: Matt Mirus <[email protected]>

* refactor: replace vim.loop with vim.uv

* Upgrade folke/neodev (sunsetting) to folke/lazydev

* Update checkhealth for 0.10 release

---------

Co-authored-by: Matt Mirus <[email protected]>
Co-authored-by: mrr11k <[email protected]>
Co-authored-by: Seb Tomasini <[email protected]>

* Update lazydev config to fix "Undefined field `fs_stat`" LSP error (nvim-lua#1040)

7513ec8 switched from neodev to
lazydev, but in the process it introduced an LSP error in `init.lua`,
which degrades the desired "first timer" experience of kickstart.nvim.

This commit follows the configuration suggested in
https://github.com/folke/lazydev.nvim/tree/6184ebbbc8045d70077659b7d30c705a588dc62f#-installation
which resolves the LSP error.

* lint: fix lsp warning in `vim.lsp.inlay_hint.is_enabled` (nvim-lua#947)

* fix: lsp warning

* review suggestion

Co-authored-by: Tom Kuson <[email protected]>

---------

Co-authored-by: Tom Kuson <[email protected]>

* Update comment about the toggle inlay hints keymap (nvim-lua#1041)

* Remove redundant hlsearch option (nvim-lua#1058)

* Modify conform comments to prevent deprecation warning when used (nvim-lua#1057)

* refactor: remove lazydev and luvit-meta as lsp dependencies (nvim-lua#1047)

* performance: defer clipboard because xsel and pbcopy can be slow (nvim-lua#1049)

* Remove treesitter prefer_git option (nvim-lua#1061)

- It's not safe and can corrupt other git repos
- nvim-treesiter maintainers consider `prefer_git` as deprecated and no
  longer needed.

See nvim-treesitter PR for details: nvim-treesitter/nvim-treesitter#6959

* Add explicit dependency of nvim-lspconfig on cmp-nvim-lsp (nvim-lua#1042)

* Update README.md (nvim-lua#1091)

* Add note in README about lazy-lock.json (nvim-lua#1090)

* Check for loop or uv for lazypath (nvim-lua#1095)

* refactor: update treesitter and which-key config (nvim-lua#1068)

* Include visual mode in LSP code action keymap (nvim-lua#1060) (nvim-lua#1064)

* Enable silent option for default neo-tree plugin keybinding (nvim-lua#1108)

* Fix: updated the windows installation commands (nvim-lua#1101)

* Update README.md

* Update README.md

* Fix: updated the windows installation commands

* fix: remove deprecated opt for conform.nvim (nvim-lua#1070)

- changed lsp_fallback -> lsp_format
- updated format_on_save function to reflect change above

* cleanup: refactor which-key configuration for cleaner setup (nvim-lua#1102)

- Moved `which-key` configuration from inline `config` to `opts` for better organization.
- Updated the key mappings setup to use `spec` for defining existing key chains.
- Removed deprecated or unnecessary comments and code.

This change aligns with updated `which-key` configuration practices, improving readability and maintainability as recommended by @VlaDexa in nvim-lua#1068.

* Fix the which-key spec issue caused by recent cleanup (nvim-lua#1113)

The recent cleanup accidentally broke the leader key specs
because the spec block was in the wrong level of braces.
That resulted in which-key no longer showing the description
of the <leader> key chains such as [S]earch and others.

---------

Co-authored-by: José Miguel Sarasola <[email protected]>
Co-authored-by: E <[email protected]>
Co-authored-by: Damjan 9000 <[email protected]>
Co-authored-by: Liu Qisheng <[email protected]>
Co-authored-by: Chris Patti <[email protected]>
Co-authored-by: Viet <[email protected]>
Co-authored-by: rdvm <[email protected]>
Co-authored-by: Vladislav Grechannik <[email protected]>
Co-authored-by: GameFuzzy <[email protected]>
Co-authored-by: Evan Carroll <[email protected]>
Co-authored-by: Francis Belanger <[email protected]>
Co-authored-by: Francis Belanger <[email protected]>
Co-authored-by: Adolfo Gante <[email protected]>
Co-authored-by: Richard Macklin <[email protected]>
Co-authored-by: Smig <[email protected]>
Co-authored-by: Per Malmberg <[email protected]>
Co-authored-by: Folke Lemaitre <[email protected]>
Co-authored-by: TJ DeVries <[email protected]>
Co-authored-by: Tom Kuson <[email protected]>
Co-authored-by: Artyom <[email protected]>
Co-authored-by: Matt Mirus <[email protected]>
Co-authored-by: mrr11k <[email protected]>
Co-authored-by: Seb Tomasini <[email protected]>
Co-authored-by: srdtrk <[email protected]>
Co-authored-by: Arvin Verain <[email protected]>
Co-authored-by: Brandon Clark <[email protected]>
Co-authored-by: Ihsan Tonuzi <[email protected]>
Co-authored-by: abeldekat <[email protected]>
Co-authored-by: jstrot <[email protected]>
Co-authored-by: theoboldalex <[email protected]>
Co-authored-by: Matt Gallagher <[email protected]>
Co-authored-by: Michael L. <[email protected]>
Co-authored-by: Bayram Kazik <[email protected]>
Co-authored-by: Harshit Pant <[email protected]>
angerborn pushed a commit to angerborn/kickstart.nvim that referenced this pull request Sep 12, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
kpollich pushed a commit to kpollich/kickstart.nvim that referenced this pull request Sep 13, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
GuNz2435 added a commit to GuNz2435/kickstart.nvim that referenced this pull request Sep 24, 2024
* Arch, btw (nvim-lua#852)

* Arch, btw

* Add unzip

* Add unzip for Fedora and --needed arg for Arch

* Comment about nerd font selection. Fixes nvim-lua#853 (nvim-lua#854)

* Fix: nvim-lua#847 - add prefer_git to treesitter config (nvim-lua#856)

* Enable inlay hints for the supporting servers (nvim-lua#843)

* Move plugin examples from README to optional plugin files (nvim-lua#831)

* Move autopairs example from README to an optional plugin

* Move neo-tree example from README to an optional plugin

* Add gitsigns recommended keymaps as an optional plugin (nvim-lua#858)

* fix: restore Mason config timing for DAP startup (again) (nvim-lua#865)

* Update README.md (nvim-lua#860)

Attempted fix for nvim-lua#859, provide reasonable Debian install instructions -- comment on GitHub issue with refinement.

* Minor improvements of debian install instructions. Fixes nvim-lua#859 (nvim-lua#869)

* Add a commented out example of the classic complete keymaps. Fixes nvim-lua#866 (nvim-lua#868)

* Fix deprecation notice of inlay hints (nvim-lua#873)

* Fix highlight errors when lsp crash or stop (nvim-lua#864)

* Fix highlight errors when lsp crash or stop

It adds a check wether the client is still available before
highlighting.

If the client is not there anymore it returns `true` to unregister the
autocommand

This fix the
`method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer`
errors when doing a LspRestart or the server crashes

* Delete the highlight autocommands in the LspDetatch event

* Only delete autocmds for the current buffer with the group name

* Simplify clearing the autocommands

---------

Co-authored-by: Francis Belanger <[email protected]>

* fix: highlight group clear on each attach (nvim-lua#874)

* Update README.md (nvim-lua#875)

Line 102. Placed 'also' before the 'includes'.

"That includes also examples of adding popularly requested plugins." ---> "That also includes examples of adding popularly requested plugins."

* README: add clipboard tool dependency (nvim-lua#886)

Fixes: nvim-lua#884
Neovim requires an external tool for proper system clipboard integration.
Some systems install this already by default:
- on Fedora xsel is already installed by default
- on Windows using the choko install the win32yank is alredy installed
This is not installed by default on ubuntu or debian so adding that
to the dependencies list and to the install instructions snippets.

* Move LspDetach handler near kickstart-lsp-highlight group (nvim-lua#900)

Moved to make sure the kickstart-lsp-highlight group exists when
the LspDetach handler is invoked. The LspDetach handler is used
to clean up any lsp highlights that were enabled by CursorHold
if the LSP is stopped or crashed.

* Add diff to treesitter's ensure_installed languages (nvim-lua#908)

* fix: debug.lua (nvim-lua#918)

* Automatically set detached state as needed. (nvim-lua#925)

* Automatically set detached state as needed.

* Use vim.fn.has instead.

* Fix int vs bool.

* which-key v3 update (nvim-lua#1022)

* which-key v3 update

* remove unneeded brackets from which-key registration

* fix(lazy): added error handling for bootstrap (nvim-lua#1001)

* fix: add required parsers from nvim-treesitter

* Fix neo-tree keymap description (nvim-lua#932)

The lazy.nvim keys parameter does not need the `desc` to
be inside a table in the way that vim.keymap.set() does.
With this fix the keymap description will be properly
shown for example in telescope keymap search

* Remove redundant require (nvim-lua#959)

* Make debug lazy loadable (nvim-lua#978)

* Update README.md | %userprofile%\appdata\local -> %localappdata% (nvim-lua#963)

- Replace `%userprofile%\AppData\Local\nvim\` and `$env:USERPROFILE\AppData\Local\nvim` to `%localappdata%\nvim` and `$env:LOCALAPPDATA\nvim respectfully`

* Make conform.nvim be lazy-loadable again (nvim-lua#977)

The PR that disabled lazy loading (nvim-lua#818) was to fix plugin not being
loaded before write. This sets up lazy to load conform before write.

* Fix comment about mini.ai example (nvim-lua#985)

This example wasn't using `'` so this makes more sense

* Neovim 0.10 updates (nvim-lua#936)

* Neovim 0.10 updates

Provide the buffer for which to enable inlay hints

Co-authored-by: Matt Mirus <[email protected]>

* refactor: replace vim.loop with vim.uv

* Upgrade folke/neodev (sunsetting) to folke/lazydev

* Update checkhealth for 0.10 release

---------

Co-authored-by: Matt Mirus <[email protected]>
Co-authored-by: mrr11k <[email protected]>
Co-authored-by: Seb Tomasini <[email protected]>

* Update lazydev config to fix "Undefined field `fs_stat`" LSP error (nvim-lua#1040)

7513ec8 switched from neodev to
lazydev, but in the process it introduced an LSP error in `init.lua`,
which degrades the desired "first timer" experience of kickstart.nvim.

This commit follows the configuration suggested in
https://github.com/folke/lazydev.nvim/tree/6184ebbbc8045d70077659b7d30c705a588dc62f#-installation
which resolves the LSP error.

* lint: fix lsp warning in `vim.lsp.inlay_hint.is_enabled` (nvim-lua#947)

* fix: lsp warning

* review suggestion

Co-authored-by: Tom Kuson <[email protected]>

---------

Co-authored-by: Tom Kuson <[email protected]>

* Update comment about the toggle inlay hints keymap (nvim-lua#1041)

* Remove redundant hlsearch option (nvim-lua#1058)

* Modify conform comments to prevent deprecation warning when used (nvim-lua#1057)

* refactor: remove lazydev and luvit-meta as lsp dependencies (nvim-lua#1047)

* performance: defer clipboard because xsel and pbcopy can be slow (nvim-lua#1049)

* Remove treesitter prefer_git option (nvim-lua#1061)

- It's not safe and can corrupt other git repos
- nvim-treesiter maintainers consider `prefer_git` as deprecated and no
  longer needed.

See nvim-treesitter PR for details: nvim-treesitter/nvim-treesitter#6959

* Add explicit dependency of nvim-lspconfig on cmp-nvim-lsp (nvim-lua#1042)

* Update README.md (nvim-lua#1091)

* Add note in README about lazy-lock.json (nvim-lua#1090)

* Check for loop or uv for lazypath (nvim-lua#1095)

* refactor: update treesitter and which-key config (nvim-lua#1068)

* Include visual mode in LSP code action keymap (nvim-lua#1060) (nvim-lua#1064)

* Enable silent option for default neo-tree plugin keybinding (nvim-lua#1108)

* Fix: updated the windows installation commands (nvim-lua#1101)

* Update README.md

* Update README.md

* Fix: updated the windows installation commands

* fix: remove deprecated opt for conform.nvim (nvim-lua#1070)

- changed lsp_fallback -> lsp_format
- updated format_on_save function to reflect change above

* cleanup: refactor which-key configuration for cleaner setup (nvim-lua#1102)

- Moved `which-key` configuration from inline `config` to `opts` for better organization.
- Updated the key mappings setup to use `spec` for defining existing key chains.
- Removed deprecated or unnecessary comments and code.

This change aligns with updated `which-key` configuration practices, improving readability and maintainability as recommended by @VlaDexa in nvim-lua#1068.

* Fix the which-key spec issue caused by recent cleanup (nvim-lua#1113)

The recent cleanup accidentally broke the leader key specs
because the spec block was in the wrong level of braces.
That resulted in which-key no longer showing the description
of the <leader> key chains such as [S]earch and others.

* feat: update references of tsserver to ts_ls (nvim-lua#1131)

---------

Co-authored-by: rdvm <[email protected]>
Co-authored-by: Damjan 9000 <[email protected]>
Co-authored-by: Chris Patti <[email protected]>
Co-authored-by: Vladislav Grechannik <[email protected]>
Co-authored-by: GameFuzzy <[email protected]>
Co-authored-by: Evan Carroll <[email protected]>
Co-authored-by: Francis Belanger <[email protected]>
Co-authored-by: Francis Belanger <[email protected]>
Co-authored-by: Adolfo Gante <[email protected]>
Co-authored-by: Richard Macklin <[email protected]>
Co-authored-by: Smig <[email protected]>
Co-authored-by: Per Malmberg <[email protected]>
Co-authored-by: Folke Lemaitre <[email protected]>
Co-authored-by: TJ DeVries <[email protected]>
Co-authored-by: Tom Kuson <[email protected]>
Co-authored-by: Artyom <[email protected]>
Co-authored-by: Matt Mirus <[email protected]>
Co-authored-by: mrr11k <[email protected]>
Co-authored-by: Seb Tomasini <[email protected]>
Co-authored-by: srdtrk <[email protected]>
Co-authored-by: Arvin Verain <[email protected]>
Co-authored-by: Brandon Clark <[email protected]>
Co-authored-by: Ihsan Tonuzi <[email protected]>
Co-authored-by: abeldekat <[email protected]>
Co-authored-by: jstrot <[email protected]>
Co-authored-by: theoboldalex <[email protected]>
Co-authored-by: Matt Gallagher <[email protected]>
Co-authored-by: Michael L. <[email protected]>
Co-authored-by: Bayram Kazik <[email protected]>
Co-authored-by: Harshit Pant <[email protected]>
Co-authored-by: Nicolás Baquero <[email protected]>
DougAnTr pushed a commit to DougAnTr/nvim that referenced this pull request Sep 26, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
Lumonde-software pushed a commit to Lumonde-software/kickstart.nvim that referenced this pull request Sep 29, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
diegorodriguezv pushed a commit to diegorodriguezv/kickstart.nvim that referenced this pull request Oct 1, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
umairraza96 pushed a commit to umairraza96/kickstart.nvim that referenced this pull request Oct 5, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
hchienjo pushed a commit to hchienjo/kickstart.nvim that referenced this pull request Oct 19, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
whalderman pushed a commit to whalderman/kickstart.nvim that referenced this pull request Nov 3, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
h4rldev pushed a commit to h4rldev/nvim that referenced this pull request Nov 8, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
aadi123 pushed a commit to aadi123/kickstart.nvim that referenced this pull request Nov 17, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
aadi123 pushed a commit to aadi123/kickstart.nvim that referenced this pull request Nov 17, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
BiboursMogz added a commit to BiboursMogz/kickstart-modular.nvim that referenced this pull request Dec 1, 2024
* which-key v3 update (nvim-lua#1022)

* which-key v3 update

* remove unneeded brackets from which-key registration

* fix(lazy): added error handling for bootstrap (nvim-lua#1001)

* fix: add required parsers from nvim-treesitter

* Fix neo-tree keymap description (nvim-lua#932)

The lazy.nvim keys parameter does not need the `desc` to
be inside a table in the way that vim.keymap.set() does.
With this fix the keymap description will be properly
shown for example in telescope keymap search

* Remove redundant require (nvim-lua#959)

* Make debug lazy loadable (nvim-lua#978)

* Update README.md | %userprofile%\appdata\local -> %localappdata% (nvim-lua#963)

- Replace `%userprofile%\AppData\Local\nvim\` and `$env:USERPROFILE\AppData\Local\nvim` to `%localappdata%\nvim` and `$env:LOCALAPPDATA\nvim respectfully`

* Make conform.nvim be lazy-loadable again (nvim-lua#977)

The PR that disabled lazy loading (nvim-lua#818) was to fix plugin not being
loaded before write. This sets up lazy to load conform before write.

* Fix comment about mini.ai example (nvim-lua#985)

This example wasn't using `'` so this makes more sense

* Neovim 0.10 updates (nvim-lua#936)

* Neovim 0.10 updates

Provide the buffer for which to enable inlay hints

Co-authored-by: Matt Mirus <[email protected]>

* refactor: replace vim.loop with vim.uv

* Upgrade folke/neodev (sunsetting) to folke/lazydev

* Update checkhealth for 0.10 release

---------

Co-authored-by: Matt Mirus <[email protected]>
Co-authored-by: mrr11k <[email protected]>
Co-authored-by: Seb Tomasini <[email protected]>

* Update lazydev config to fix "Undefined field `fs_stat`" LSP error (nvim-lua#1040)

7513ec8 switched from neodev to
lazydev, but in the process it introduced an LSP error in `init.lua`,
which degrades the desired "first timer" experience of kickstart.nvim.

This commit follows the configuration suggested in
https://github.com/folke/lazydev.nvim/tree/6184ebbbc8045d70077659b7d30c705a588dc62f#-installation
which resolves the LSP error.

* lint: fix lsp warning in `vim.lsp.inlay_hint.is_enabled` (nvim-lua#947)

* fix: lsp warning

* review suggestion

Co-authored-by: Tom Kuson <[email protected]>

---------

Co-authored-by: Tom Kuson <[email protected]>

* Update comment about the toggle inlay hints keymap (nvim-lua#1041)

* Remove redundant hlsearch option (nvim-lua#1058)

* Modify conform comments to prevent deprecation warning when used (nvim-lua#1057)

* refactor: remove lazydev and luvit-meta as lsp dependencies (nvim-lua#1047)

* performance: defer clipboard because xsel and pbcopy can be slow (nvim-lua#1049)

* Remove treesitter prefer_git option (nvim-lua#1061)

- It's not safe and can corrupt other git repos
- nvim-treesiter maintainers consider `prefer_git` as deprecated and no
  longer needed.

See nvim-treesitter PR for details: nvim-treesitter/nvim-treesitter#6959

* Add explicit dependency of nvim-lspconfig on cmp-nvim-lsp (nvim-lua#1042)

* Update README.md (nvim-lua#1091)

* Add note in README about lazy-lock.json (nvim-lua#1090)

* Check for loop or uv for lazypath (nvim-lua#1095)

* refactor: update treesitter and which-key config (nvim-lua#1068)

* Include visual mode in LSP code action keymap (nvim-lua#1060) (nvim-lua#1064)

* Enable silent option for default neo-tree plugin keybinding (nvim-lua#1108)

* Fix: updated the windows installation commands (nvim-lua#1101)

* Update README.md

* Update README.md

* Fix: updated the windows installation commands

* fix: remove deprecated opt for conform.nvim (nvim-lua#1070)

- changed lsp_fallback -> lsp_format
- updated format_on_save function to reflect change above

* cleanup: refactor which-key configuration for cleaner setup (nvim-lua#1102)

- Moved `which-key` configuration from inline `config` to `opts` for better organization.
- Updated the key mappings setup to use `spec` for defining existing key chains.
- Removed deprecated or unnecessary comments and code.

This change aligns with updated `which-key` configuration practices, improving readability and maintainability as recommended by @VlaDexa in nvim-lua#1068.

* Fix the which-key spec issue caused by recent cleanup (nvim-lua#1113)

The recent cleanup accidentally broke the leader key specs
because the spec block was in the wrong level of braces.
That resulted in which-key no longer showing the description
of the <leader> key chains such as [S]earch and others.

* feat: update references of tsserver to ts_ls (nvim-lua#1131)

* fix: update lazy uninstall information link (nvim-lua#1148)

* Disable linting autocmd for readonly buffers (nvim-lua#1202)

* Disable linting autocmd for readonly buffers

This should avoid linting in buffers outside of the user's control,
having in mind especially the handy LSP pop-ups that describe your
hovered symbol using markdown.

Co-authored-by: Robin Gruyters <[email protected]>

* Justify guarding try_lint in readonly buffers

Co-authored-by: Robin Gruyters <[email protected]>

---------

Co-authored-by: Robin Gruyters <[email protected]>

* samarth-nagar fix: lazy help tag on line 931 (nvim-lua#1167)

* samarth-nagar fix: lazy help tag on line 931

found in issue nvim-lua#1152

* fixed white space

---------

Co-authored-by: sam <[email protected]>

* Change diagnostic symbols if vim.g.have_nerd_font is true (nvim-lua#1195)

* feat: Change diagnostic symbols if vim.g.have_nerd_font is true

* feat: Comment out changes regarding diagnostic symbols so that only those who want to change them can do so

---------

Co-authored-by: name <email>

* Set breakpoint icons and their highlight colors (nvim-lua#1194)

* feat: Set breakpoint icons and their highlight colors

* docs: Delete reference URL (written in PR)
feat: "Break" and "Stop" arguments of vim.api.nvim_set_hl are changed because they are too common nouns
feat: Comment out changes regarding diagnostic symbols so that only those who want to change them can do so

---------

Co-authored-by: name <email>

* Remove two because there are more than two. (nvim-lua#1213)

* feat: Change to prepare for upcoming deprecation of configuring diagnostic-signs using sign_define() (nvim-lua#1232)

* Fix nvim-dap not lazy loading (nvim-lua#1216)

* Fix nvim-dap not lazy loading

The keys property had local variables 'dap' and 'dap-ui' that used `require` and prevented all DAP related plugins from lazy-loading.
Fixed this by changing keys to a table and substituting the local variables with a lamba function

* Make debug keybind descriptions more consistent

* fix: which-key comment typo (nvim-lua#1227)

---------

Co-authored-by: Vladislav Grechannik <[email protected]>
Co-authored-by: Folke Lemaitre <[email protected]>
Co-authored-by: Damjan 9000 <[email protected]>
Co-authored-by: TJ DeVries <[email protected]>
Co-authored-by: Tom Kuson <[email protected]>
Co-authored-by: Artyom <[email protected]>
Co-authored-by: Richard Macklin <[email protected]>
Co-authored-by: Matt Mirus <[email protected]>
Co-authored-by: mrr11k <[email protected]>
Co-authored-by: Seb Tomasini <[email protected]>
Co-authored-by: srdtrk <[email protected]>
Co-authored-by: Arvin Verain <[email protected]>
Co-authored-by: Brandon Clark <[email protected]>
Co-authored-by: Ihsan Tonuzi <[email protected]>
Co-authored-by: abeldekat <[email protected]>
Co-authored-by: jstrot <[email protected]>
Co-authored-by: theoboldalex <[email protected]>
Co-authored-by: Matt Gallagher <[email protected]>
Co-authored-by: Michael L. <[email protected]>
Co-authored-by: Bayram Kazik <[email protected]>
Co-authored-by: Harshit Pant <[email protected]>
Co-authored-by: Nicolás Baquero <[email protected]>
Co-authored-by: Bastien Traverse <[email protected]>
Co-authored-by: Éric NICOLAS <[email protected]>
Co-authored-by: Robin Gruyters <[email protected]>
Co-authored-by: sam <[email protected]>
Co-authored-by: sam <[email protected]>
Co-authored-by: gloomy-lemon-debatable <[email protected]>
Co-authored-by: Will Winder <[email protected]>
Co-authored-by: Anjishnu Banerjee <[email protected]>
Co-authored-by: Miha <[email protected]>
Co-authored-by: mogz <[email protected]>
rrcomtech pushed a commit to rrcomtech/neovim-config that referenced this pull request Dec 11, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
dzadok pushed a commit to dzadok/kickstart.nvim that referenced this pull request Dec 30, 2024
* which-key v3 update

* remove unneeded brackets from which-key registration
flatplate pushed a commit to flatplate/kickstart.nvim that referenced this pull request Jan 2, 2025
* which-key v3 update

* remove unneeded brackets from which-key registration
kontr0x pushed a commit to kontr0x/my-kickstart.nvim that referenced this pull request Jan 2, 2025
* which-key v3 update

* remove unneeded brackets from which-key registration
kontr0x pushed a commit to kontr0x/my-kickstart.nvim that referenced this pull request Jan 2, 2025
* which-key v3 update

* remove unneeded brackets from which-key registration
BiboursMogz added a commit to BiboursMogz/kickstart-modular.nvim that referenced this pull request Jan 2, 2025
* which-key v3 update (nvim-lua#1022)

* which-key v3 update

* remove unneeded brackets from which-key registration

* fix(lazy): added error handling for bootstrap (nvim-lua#1001)

* fix: add required parsers from nvim-treesitter

* Fix neo-tree keymap description (nvim-lua#932)

The lazy.nvim keys parameter does not need the `desc` to
be inside a table in the way that vim.keymap.set() does.
With this fix the keymap description will be properly
shown for example in telescope keymap search

* Remove redundant require (nvim-lua#959)

* Make debug lazy loadable (nvim-lua#978)

* Update README.md | %userprofile%\appdata\local -> %localappdata% (nvim-lua#963)

- Replace `%userprofile%\AppData\Local\nvim\` and `$env:USERPROFILE\AppData\Local\nvim` to `%localappdata%\nvim` and `$env:LOCALAPPDATA\nvim respectfully`

* Make conform.nvim be lazy-loadable again (nvim-lua#977)

The PR that disabled lazy loading (nvim-lua#818) was to fix plugin not being
loaded before write. This sets up lazy to load conform before write.

* Fix comment about mini.ai example (nvim-lua#985)

This example wasn't using `'` so this makes more sense

* Neovim 0.10 updates (nvim-lua#936)

* Neovim 0.10 updates

Provide the buffer for which to enable inlay hints

Co-authored-by: Matt Mirus <[email protected]>

* refactor: replace vim.loop with vim.uv

* Upgrade folke/neodev (sunsetting) to folke/lazydev

* Update checkhealth for 0.10 release

---------

Co-authored-by: Matt Mirus <[email protected]>
Co-authored-by: mrr11k <[email protected]>
Co-authored-by: Seb Tomasini <[email protected]>

* Update lazydev config to fix "Undefined field `fs_stat`" LSP error (nvim-lua#1040)

7513ec8 switched from neodev to
lazydev, but in the process it introduced an LSP error in `init.lua`,
which degrades the desired "first timer" experience of kickstart.nvim.

This commit follows the configuration suggested in
https://github.com/folke/lazydev.nvim/tree/6184ebbbc8045d70077659b7d30c705a588dc62f#-installation
which resolves the LSP error.

* lint: fix lsp warning in `vim.lsp.inlay_hint.is_enabled` (nvim-lua#947)

* fix: lsp warning

* review suggestion

Co-authored-by: Tom Kuson <[email protected]>

---------

Co-authored-by: Tom Kuson <[email protected]>

* Update comment about the toggle inlay hints keymap (nvim-lua#1041)

* Remove redundant hlsearch option (nvim-lua#1058)

* Modify conform comments to prevent deprecation warning when used (nvim-lua#1057)

* refactor: remove lazydev and luvit-meta as lsp dependencies (nvim-lua#1047)

* performance: defer clipboard because xsel and pbcopy can be slow (nvim-lua#1049)

* Remove treesitter prefer_git option (nvim-lua#1061)

- It's not safe and can corrupt other git repos
- nvim-treesiter maintainers consider `prefer_git` as deprecated and no
  longer needed.

See nvim-treesitter PR for details: nvim-treesitter/nvim-treesitter#6959

* Add explicit dependency of nvim-lspconfig on cmp-nvim-lsp (nvim-lua#1042)

* Update README.md (nvim-lua#1091)

* Add note in README about lazy-lock.json (nvim-lua#1090)

* Check for loop or uv for lazypath (nvim-lua#1095)

* refactor: update treesitter and which-key config (nvim-lua#1068)

* Include visual mode in LSP code action keymap (nvim-lua#1060) (nvim-lua#1064)

* Enable silent option for default neo-tree plugin keybinding (nvim-lua#1108)

* Fix: updated the windows installation commands (nvim-lua#1101)

* Update README.md

* Update README.md

* Fix: updated the windows installation commands

* fix: remove deprecated opt for conform.nvim (nvim-lua#1070)

- changed lsp_fallback -> lsp_format
- updated format_on_save function to reflect change above

* cleanup: refactor which-key configuration for cleaner setup (nvim-lua#1102)

- Moved `which-key` configuration from inline `config` to `opts` for better organization.
- Updated the key mappings setup to use `spec` for defining existing key chains.
- Removed deprecated or unnecessary comments and code.

This change aligns with updated `which-key` configuration practices, improving readability and maintainability as recommended by @VlaDexa in nvim-lua#1068.

* Fix the which-key spec issue caused by recent cleanup (nvim-lua#1113)

The recent cleanup accidentally broke the leader key specs
because the spec block was in the wrong level of braces.
That resulted in which-key no longer showing the description
of the <leader> key chains such as [S]earch and others.

* feat: update references of tsserver to ts_ls (nvim-lua#1131)

* fix: update lazy uninstall information link (nvim-lua#1148)

* Disable linting autocmd for readonly buffers (nvim-lua#1202)

* Disable linting autocmd for readonly buffers

This should avoid linting in buffers outside of the user's control,
having in mind especially the handy LSP pop-ups that describe your
hovered symbol using markdown.

Co-authored-by: Robin Gruyters <[email protected]>

* Justify guarding try_lint in readonly buffers

Co-authored-by: Robin Gruyters <[email protected]>

---------

Co-authored-by: Robin Gruyters <[email protected]>

* samarth-nagar fix: lazy help tag on line 931 (nvim-lua#1167)

* samarth-nagar fix: lazy help tag on line 931

found in issue nvim-lua#1152

* fixed white space

---------

Co-authored-by: sam <[email protected]>

* Change diagnostic symbols if vim.g.have_nerd_font is true (nvim-lua#1195)

* feat: Change diagnostic symbols if vim.g.have_nerd_font is true

* feat: Comment out changes regarding diagnostic symbols so that only those who want to change them can do so

---------

Co-authored-by: name <email>

* Set breakpoint icons and their highlight colors (nvim-lua#1194)

* feat: Set breakpoint icons and their highlight colors

* docs: Delete reference URL (written in PR)
feat: "Break" and "Stop" arguments of vim.api.nvim_set_hl are changed because they are too common nouns
feat: Comment out changes regarding diagnostic symbols so that only those who want to change them can do so

---------

Co-authored-by: name <email>

* Remove two because there are more than two. (nvim-lua#1213)

* feat: Change to prepare for upcoming deprecation of configuring diagnostic-signs using sign_define() (nvim-lua#1232)

* Fix nvim-dap not lazy loading (nvim-lua#1216)

* Fix nvim-dap not lazy loading

The keys property had local variables 'dap' and 'dap-ui' that used `require` and prevented all DAP related plugins from lazy-loading.
Fixed this by changing keys to a table and substituting the local variables with a lamba function

* Make debug keybind descriptions more consistent

* fix: which-key comment typo (nvim-lua#1227)

---------

Co-authored-by: Vladislav Grechannik <[email protected]>
Co-authored-by: Folke Lemaitre <[email protected]>
Co-authored-by: Damjan 9000 <[email protected]>
Co-authored-by: TJ DeVries <[email protected]>
Co-authored-by: Tom Kuson <[email protected]>
Co-authored-by: Artyom <[email protected]>
Co-authored-by: Richard Macklin <[email protected]>
Co-authored-by: Matt Mirus <[email protected]>
Co-authored-by: mrr11k <[email protected]>
Co-authored-by: Seb Tomasini <[email protected]>
Co-authored-by: srdtrk <[email protected]>
Co-authored-by: Arvin Verain <[email protected]>
Co-authored-by: Brandon Clark <[email protected]>
Co-authored-by: Ihsan Tonuzi <[email protected]>
Co-authored-by: abeldekat <[email protected]>
Co-authored-by: jstrot <[email protected]>
Co-authored-by: theoboldalex <[email protected]>
Co-authored-by: Matt Gallagher <[email protected]>
Co-authored-by: Michael L. <[email protected]>
Co-authored-by: Bayram Kazik <[email protected]>
Co-authored-by: Harshit Pant <[email protected]>
Co-authored-by: Nicolás Baquero <[email protected]>
Co-authored-by: Bastien Traverse <[email protected]>
Co-authored-by: Éric NICOLAS <[email protected]>
Co-authored-by: Robin Gruyters <[email protected]>
Co-authored-by: sam <[email protected]>
Co-authored-by: sam <[email protected]>
Co-authored-by: gloomy-lemon-debatable <[email protected]>
Co-authored-by: Will Winder <[email protected]>
Co-authored-by: Anjishnu Banerjee <[email protected]>
Co-authored-by: Miha <[email protected]>
Co-authored-by: mogz <[email protected]>
abouthugo added a commit to abouthugo/kickstart.nvim that referenced this pull request Jan 7, 2025
* Add nvim-nio as dependency for nvim-dap-ui (nvim-lua#774)

It's a dependency now

* Update README.md (nvim-lua#781)

The recommended step of forking the repo coming sequentially after the step instructing users to clone the current repo doesn't make sense.

This commit orders the install instructions in a manner that's more logical.

* README: wrap long lines (nvim-lua#784)

* fix nvim-lua#799 (nvim-lua#800)

Add `'luadoc'`, to the `ensure_installed` of `nvim-treesitter/nvim-treesitter`

* Add instructions to quit :lazy. Fixes nvim-lua#761

* Add a keymap space-f to format buffer using conform (nvim-lua#817)

This works also for visual range selection
Copied from conform recipe:
https://github.com/stevearc/conform.nvim/blob/master/doc/recipes.md

* Don't lazy load conform plugin (nvim-lua#818)

* README: move backup and paths from external deps to install section (nvim-lua#819)

* Add a pull request template (nvim-lua#825)

* Update README (nvim-lua#832)

* Arch, btw (nvim-lua#852)

* Arch, btw

* Add unzip

* Add unzip for Fedora and --needed arg for Arch

* Comment about nerd font selection. Fixes nvim-lua#853 (nvim-lua#854)

* Fix: nvim-lua#847 - add prefer_git to treesitter config (nvim-lua#856)

* Enable inlay hints for the supporting servers (nvim-lua#843)

* Move plugin examples from README to optional plugin files (nvim-lua#831)

* Move autopairs example from README to an optional plugin

* Move neo-tree example from README to an optional plugin

* Add gitsigns recommended keymaps as an optional plugin (nvim-lua#858)

* fix: restore Mason config timing for DAP startup (again) (nvim-lua#865)

* Update README.md (nvim-lua#860)

Attempted fix for nvim-lua#859, provide reasonable Debian install instructions -- comment on GitHub issue with refinement.

* Minor improvements of debian install instructions. Fixes nvim-lua#859 (nvim-lua#869)

* Add a commented out example of the classic complete keymaps. Fixes nvim-lua#866 (nvim-lua#868)

* Fix deprecation notice of inlay hints (nvim-lua#873)

* Fix highlight errors when lsp crash or stop (nvim-lua#864)

* Fix highlight errors when lsp crash or stop

It adds a check wether the client is still available before
highlighting.

If the client is not there anymore it returns `true` to unregister the
autocommand

This fix the
`method textDocument/documentHighlight is not supported by any of the servers registered for the current buffer`
errors when doing a LspRestart or the server crashes

* Delete the highlight autocommands in the LspDetatch event

* Only delete autocmds for the current buffer with the group name

* Simplify clearing the autocommands

---------

Co-authored-by: Francis Belanger <[email protected]>

* fix: highlight group clear on each attach (nvim-lua#874)

* Update README.md (nvim-lua#875)

Line 102. Placed 'also' before the 'includes'.

"That includes also examples of adding popularly requested plugins." ---> "That also includes examples of adding popularly requested plugins."

* README: add clipboard tool dependency (nvim-lua#886)

Fixes: nvim-lua#884
Neovim requires an external tool for proper system clipboard integration.
Some systems install this already by default:
- on Fedora xsel is already installed by default
- on Windows using the choko install the win32yank is alredy installed
This is not installed by default on ubuntu or debian so adding that
to the dependencies list and to the install instructions snippets.

* Move LspDetach handler near kickstart-lsp-highlight group (nvim-lua#900)

Moved to make sure the kickstart-lsp-highlight group exists when
the LspDetach handler is invoked. The LspDetach handler is used
to clean up any lsp highlights that were enabled by CursorHold
if the LSP is stopped or crashed.

* Add diff to treesitter's ensure_installed languages (nvim-lua#908)

* fix: debug.lua (nvim-lua#918)

* Automatically set detached state as needed. (nvim-lua#925)

* Automatically set detached state as needed.

* Use vim.fn.has instead.

* Fix int vs bool.

* which-key v3 update (nvim-lua#1022)

* which-key v3 update

* remove unneeded brackets from which-key registration

* fix(lazy): added error handling for bootstrap (nvim-lua#1001)

* fix: add required parsers from nvim-treesitter

* Fix neo-tree keymap description (nvim-lua#932)

The lazy.nvim keys parameter does not need the `desc` to
be inside a table in the way that vim.keymap.set() does.
With this fix the keymap description will be properly
shown for example in telescope keymap search

* Remove redundant require (nvim-lua#959)

* Make debug lazy loadable (nvim-lua#978)

* Update README.md | %userprofile%\appdata\local -> %localappdata% (nvim-lua#963)

- Replace `%userprofile%\AppData\Local\nvim\` and `$env:USERPROFILE\AppData\Local\nvim` to `%localappdata%\nvim` and `$env:LOCALAPPDATA\nvim respectfully`

* Make conform.nvim be lazy-loadable again (nvim-lua#977)

The PR that disabled lazy loading (nvim-lua#818) was to fix plugin not being
loaded before write. This sets up lazy to load conform before write.

* Fix comment about mini.ai example (nvim-lua#985)

This example wasn't using `'` so this makes more sense

* Neovim 0.10 updates (nvim-lua#936)

* Neovim 0.10 updates

Provide the buffer for which to enable inlay hints

Co-authored-by: Matt Mirus <[email protected]>

* refactor: replace vim.loop with vim.uv

* Upgrade folke/neodev (sunsetting) to folke/lazydev

* Update checkhealth for 0.10 release

---------

Co-authored-by: Matt Mirus <[email protected]>
Co-authored-by: mrr11k <[email protected]>
Co-authored-by: Seb Tomasini <[email protected]>

* Update lazydev config to fix "Undefined field `fs_stat`" LSP error (nvim-lua#1040)

7513ec8 switched from neodev to
lazydev, but in the process it introduced an LSP error in `init.lua`,
which degrades the desired "first timer" experience of kickstart.nvim.

This commit follows the configuration suggested in
https://github.com/folke/lazydev.nvim/tree/6184ebbbc8045d70077659b7d30c705a588dc62f#-installation
which resolves the LSP error.

* lint: fix lsp warning in `vim.lsp.inlay_hint.is_enabled` (nvim-lua#947)

* fix: lsp warning

* review suggestion

Co-authored-by: Tom Kuson <[email protected]>

---------

Co-authored-by: Tom Kuson <[email protected]>

* Update comment about the toggle inlay hints keymap (nvim-lua#1041)

* Remove redundant hlsearch option (nvim-lua#1058)

* Modify conform comments to prevent deprecation warning when used (nvim-lua#1057)

* refactor: remove lazydev and luvit-meta as lsp dependencies (nvim-lua#1047)

* performance: defer clipboard because xsel and pbcopy can be slow (nvim-lua#1049)

* Remove treesitter prefer_git option (nvim-lua#1061)

- It's not safe and can corrupt other git repos
- nvim-treesiter maintainers consider `prefer_git` as deprecated and no
  longer needed.

See nvim-treesitter PR for details: nvim-treesitter/nvim-treesitter#6959

* Add explicit dependency of nvim-lspconfig on cmp-nvim-lsp (nvim-lua#1042)

* Update README.md (nvim-lua#1091)

* Add note in README about lazy-lock.json (nvim-lua#1090)

* Check for loop or uv for lazypath (nvim-lua#1095)

* refactor: update treesitter and which-key config (nvim-lua#1068)

* Include visual mode in LSP code action keymap (nvim-lua#1060) (nvim-lua#1064)

* Enable silent option for default neo-tree plugin keybinding (nvim-lua#1108)

* Fix: updated the windows installation commands (nvim-lua#1101)

* Update README.md

* Update README.md

* Fix: updated the windows installation commands

* fix: remove deprecated opt for conform.nvim (nvim-lua#1070)

- changed lsp_fallback -> lsp_format
- updated format_on_save function to reflect change above

* cleanup: refactor which-key configuration for cleaner setup (nvim-lua#1102)

- Moved `which-key` configuration from inline `config` to `opts` for better organization.
- Updated the key mappings setup to use `spec` for defining existing key chains.
- Removed deprecated or unnecessary comments and code.

This change aligns with updated `which-key` configuration practices, improving readability and maintainability as recommended by @VlaDexa in nvim-lua#1068.

* Fix the which-key spec issue caused by recent cleanup (nvim-lua#1113)

The recent cleanup accidentally broke the leader key specs
because the spec block was in the wrong level of braces.
That resulted in which-key no longer showing the description
of the <leader> key chains such as [S]earch and others.

---------

Co-authored-by: José Miguel Sarasola <[email protected]>
Co-authored-by: E <[email protected]>
Co-authored-by: Damjan 9000 <[email protected]>
Co-authored-by: Liu Qisheng <[email protected]>
Co-authored-by: Chris Patti <[email protected]>
Co-authored-by: Viet <[email protected]>
Co-authored-by: rdvm <[email protected]>
Co-authored-by: Vladislav Grechannik <[email protected]>
Co-authored-by: GameFuzzy <[email protected]>
Co-authored-by: Evan Carroll <[email protected]>
Co-authored-by: Francis Belanger <[email protected]>
Co-authored-by: Francis Belanger <[email protected]>
Co-authored-by: Adolfo Gante <[email protected]>
Co-authored-by: Richard Macklin <[email protected]>
Co-authored-by: Smig <[email protected]>
Co-authored-by: Per Malmberg <[email protected]>
Co-authored-by: Folke Lemaitre <[email protected]>
Co-authored-by: TJ DeVries <[email protected]>
Co-authored-by: Tom Kuson <[email protected]>
Co-authored-by: Artyom <[email protected]>
Co-authored-by: Matt Mirus <[email protected]>
Co-authored-by: mrr11k <[email protected]>
Co-authored-by: Seb Tomasini <[email protected]>
Co-authored-by: srdtrk <[email protected]>
Co-authored-by: Arvin Verain <[email protected]>
Co-authored-by: Brandon Clark <[email protected]>
Co-authored-by: Ihsan Tonuzi <[email protected]>
Co-authored-by: abeldekat <[email protected]>
Co-authored-by: jstrot <[email protected]>
Co-authored-by: theoboldalex <[email protected]>
Co-authored-by: Matt Gallagher <[email protected]>
Co-authored-by: Michael L. <[email protected]>
Co-authored-by: Bayram Kazik <[email protected]>
Co-authored-by: Harshit Pant <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants