Commit Graph

441 Commits

Author SHA1 Message Date
Éric NICOLAS 31c59da283 Disable linting autocmd for readonly buffers (#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 <2082795+rgruyters@users.noreply.github.com>

* Justify guarding try_lint in readonly buffers

Co-authored-by: Robin Gruyters <2082795+rgruyters@users.noreply.github.com>

---------

Co-authored-by: Robin Gruyters <2082795+rgruyters@users.noreply.github.com>
2025-02-24 08:17:17 -08:00
Bastien Traverse 26370c0185 fix: update lazy uninstall information link (#1148) 2025-02-24 08:17:17 -08:00
Nicolás Baquero 2ed45945bc feat: update references of tsserver to ts_ls (#1131) 2025-02-24 08:17:17 -08:00
Damjan 9000 67997e1397 Fix the which-key spec issue caused by recent cleanup (#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.
2025-02-24 08:17:17 -08:00
Ihsan Tonuzi c3f1e62327 cleanup: refactor which-key configuration for cleaner setup (#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 #1068.
2025-02-24 08:17:17 -08:00
Ihsan Tonuzi 9538a82e1f fix: remove deprecated opt for conform.nvim (#1070)
- changed lsp_fallback -> lsp_format
- updated format_on_save function to reflect change above
2025-02-24 08:17:17 -08:00
Harshit Pant cb0995abd7 Fix: updated the windows installation commands (#1101)
* Update README.md

* Update README.md

* Fix: updated the windows installation commands
2025-02-24 08:17:17 -08:00
Bayram Kazik 7d75d95817 Enable silent option for default neo-tree plugin keybinding (#1108) 2025-02-24 08:17:17 -08:00
Bayram Kazik f3e7c6218b Include visual mode in LSP code action keymap (#1060) (#1064) 2025-02-24 08:17:17 -08:00
Ihsan Tonuzi adf2b9c7ab refactor: update treesitter and which-key config (#1068) 2025-02-24 08:17:17 -08:00
Michael L. e752df41ab Check for loop or uv for lazypath (#1095) 2025-02-24 08:17:17 -08:00
Matt Gallagher 3879561540 Add note in README about lazy-lock.json (#1090) 2025-02-24 08:17:17 -08:00
theoboldalex 530fd31a1d Update README.md (#1091) 2025-02-24 08:17:17 -08:00
jstrot f67b5f2a0b Add explicit dependency of nvim-lspconfig on cmp-nvim-lsp (#1042) 2025-02-24 08:17:17 -08:00
jstrot b72b7d0a0f Remove treesitter prefer_git option (#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: https://github.com/nvim-treesitter/nvim-treesitter/pull/6959
2025-02-24 08:17:17 -08:00
abeldekat 1a825e5d73 performance: defer clipboard because xsel and pbcopy can be slow (#1049) 2025-02-24 08:17:17 -08:00
Ihsan Tonuzi afdf52768c refactor: remove lazydev and luvit-meta as lsp dependencies (#1047) 2025-02-24 08:17:17 -08:00
Brandon Clark 0f6bb2987f Modify conform comments to prevent deprecation warning when used (#1057) 2025-02-24 08:17:17 -08:00
Arvin Verain b4a2af8668 Remove redundant hlsearch option (#1058) 2025-02-24 08:17:17 -08:00
Richard Macklin 5c566f792e Update comment about the toggle inlay hints keymap (#1041) 2025-02-24 08:17:17 -08:00
srdtrk 13e11af71d lint: fix lsp warning in `vim.lsp.inlay_hint.is_enabled` (#947)
* fix: lsp warning

* review suggestion

Co-authored-by: Tom Kuson <mail@tjkuson.me>

---------

Co-authored-by: Tom Kuson <mail@tjkuson.me>
2025-02-24 08:17:17 -08:00
Richard Macklin 9b05bc8ce2 Update lazydev config to fix "Undefined field `fs_stat`" LSP error (#1040)
7513ec8a7d 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
6184ebbbc8 (-installation)
which resolves the LSP error.
2025-02-24 08:17:17 -08:00
Vladislav Grechannik 24590587d1 Neovim 0.10 updates (#936)
* Neovim 0.10 updates

Provide the buffer for which to enable inlay hints

Co-authored-by: Matt Mirus <matt@mattmirus.com>

* 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 <matt@mattmirus.com>
Co-authored-by: mrr11k <me+github@mrr11k.dev>
Co-authored-by: Seb Tomasini <sebt@qgates.com>
2025-02-24 08:17:17 -08:00
Richard Macklin ffc4ea1d22 Fix comment about mini.ai example (#985)
This example wasn't using `'` so this makes more sense
2025-02-24 08:17:17 -08:00
Vladislav Grechannik bf99e2535d Make conform.nvim be lazy-loadable again (#977)
The PR that disabled lazy loading (#818) was to fix plugin not being
loaded before write. This sets up lazy to load conform before write.
2025-02-24 08:17:17 -08:00
Artyom bb0c0f29fd Update README.md | %userprofile%\appdata\local -> %localappdata% (#963)
- Replace `%userprofile%\AppData\Local\nvim\` and `$env:USERPROFILE\AppData\Local\nvim` to `%localappdata%\nvim` and `$env:LOCALAPPDATA\nvim respectfully`
2025-02-24 08:17:17 -08:00
Vladislav Grechannik dd08b59b4a Make debug lazy loadable (#978) 2025-02-24 08:17:17 -08:00
Tom Kuson 413efec02b Remove redundant require (#959) 2025-02-24 08:17:17 -08:00
Damjan 9000 323fea84da Fix neo-tree keymap description (#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
2025-02-24 08:17:17 -08:00
TJ DeVries 8e88270c5f fix: add required parsers from nvim-treesitter 2025-02-24 08:17:17 -08:00
Folke Lemaitre b6d84f3d7b fix(lazy): added error handling for bootstrap (#1001) 2025-02-24 08:17:17 -08:00
Vladislav Grechannik ed477a3d8c which-key v3 update (#1022)
* which-key v3 update

* remove unneeded brackets from which-key registration
2025-02-24 08:17:17 -08:00
Per Malmberg 89d182de76 Automatically set detached state as needed. (#925)
* Automatically set detached state as needed.

* Use vim.fn.has instead.

* Fix int vs bool.
2025-02-24 08:17:17 -08:00
Smig 62f99c5a3f fix: debug.lua (#918) 2025-02-24 08:17:17 -08:00
Richard Macklin 82d04e814b Add diff to treesitter's ensure_installed languages (#908) 2025-02-24 08:17:17 -08:00
Damjan 9000 0b76ef37b2 Move LspDetach handler near kickstart-lsp-highlight group (#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.
2025-02-24 08:17:17 -08:00
Damjan 9000 fdeb6470ad README: add clipboard tool dependency (#886)
Fixes: #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.
2025-02-24 08:17:17 -08:00
Adolfo Gante 7c4c8cafa9 Update README.md (#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."
2025-02-24 08:17:17 -08:00
Francis Belanger afe477ccf0 fix: highlight group clear on each attach (#874) 2025-02-24 08:17:17 -08:00
Francis Belanger 8f62494011 Fix highlight errors when lsp crash or stop (#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 <francis.belanger@ubisoft.com>
2025-02-24 08:17:17 -08:00
Vladislav Grechannik c4383c4ce9 Fix deprecation notice of inlay hints (#873) 2025-02-24 08:17:17 -08:00
Damjan 9000 cf28db3e22 Add a commented out example of the classic complete keymaps. Fixes #866 (#868) 2025-02-24 08:17:17 -08:00
Damjan 9000 e09767d753 Minor improvements of debian install instructions. Fixes #859 (#869) 2025-02-24 08:17:17 -08:00
Evan Carroll 12b792c0de Update README.md (#860)
Attempted fix for #859, provide reasonable Debian install instructions -- comment on GitHub issue with refinement.
2025-02-24 08:17:17 -08:00
GameFuzzy da00a1000d fix: restore Mason config timing for DAP startup (again) (#865) 2025-02-24 08:17:17 -08:00
Damjan 9000 ca27e564c9 Add gitsigns recommended keymaps as an optional plugin (#858) 2025-02-24 08:17:17 -08:00
Damjan 9000 15d9588e67 Move plugin examples from README to optional plugin files (#831)
* Move autopairs example from README to an optional plugin

* Move neo-tree example from README to an optional plugin
2025-02-24 08:17:12 -08:00
Vladislav Grechannik b71ca4f4fb Enable inlay hints for the supporting servers (#843) 2025-02-24 08:16:26 -08:00
Chris Patti 4f6e621c2c Fix: #847 - add prefer_git to treesitter config (#856) 2025-02-24 08:16:26 -08:00
Damjan 9000 877e84d522 Comment about nerd font selection. Fixes #853 (#854) 2025-02-24 08:16:26 -08:00