Pulls in 50 upstream commits. The key driver is the nvim-treesitter
migration (upstream 7ea937d, 8ac4b12, a6dcf68, e01e1eb, 4021496, c7f05a0)
which switches from the archived `master` branch to `main`, fixing a
crash on Neovim 0.12.1 where render-markdown's injection parsing called
`:range()` on a table returned by the new query API.
Also included from upstream:
- Drop mason-lspconfig setup; use `vim.lsp.config/enable` loop directly
(upstream ad246eb, 1f4c21f — blink supplies capabilities itself)
- Various kickstart plugin cleanups (autopairs, debug, gitsigns,
indent_line, lint, neo-tree, health)
- stylua config + workflow updates
Local customizations preserved:
- Custom keymaps and copy_path helper in lua/custom/plugins/init.lua
- Extra LSP servers (clangd, gopls, pyright, ts_ls, ruff)
- Extra mason tools (markdownlint, mypy, jq, prettier, codelldb)
- Enabled kickstart.plugins.{debug,indent_line,lint,autopairs,neo-tree,gitsigns}
Post-merge: users must have tree-sitter CLI available
(brew install tree-sitter-cli) so the main-branch plugin can recompile
parsers against the new query files.
Adds 'gr' to which-keys documentation, so users can see that LSP actions are grouped after 'gr' key binds.
Co-authored-by: thiago-negri <evohunz@gmail.com>
This could help beginners to get autocompletion, catch mistakes earlier,
and allow them to skip the docs for simple configs.
This is not perfect because a lot of the plugins type all of their keys
as required, even though they have defaults, but this is good enough.
* move telescope related lsp functions inside the telscope plugin declaration block
* explicitly enable telescope plugin, add some comments explainging why
* update comments with suggestions from @oriori1703
Co-authored-by: Ori Perry <48057913+oriori1703@users.noreply.github.com>
* fix formatting in accordance to stylua so that pipeline passes
---------
Co-authored-by: Philipp Szechenyi <philipp.szechenyi@cgm.com>
Co-authored-by: Philipp Szechenyi <45265588+szechp@users.noreply.github.com>
Co-authored-by: Ori Perry <48057913+oriori1703@users.noreply.github.com>
Co-authored-by: philipp <philipp@philipps-MacBook-Pro.local>
The functions of vim.highlight were renamed to vim.hl on commit
18b43c331d8a0ed87d7cbefe2a18543b8e4ad360 of neovim, which was applied
with the release of nvim version 0.11.
Now, the use of vim.highlight is deprecated, and instead, one should
use vim.hl functions.
In practice, vim.highlight is still working, however, asking for help
for vim.highlight.on_yank fails (E149), while asking for help for
vim.hl.on_yank works as expected. So, by updating the used function, a
new user will have easier time looking getting the relevant help.
Co-authored-by: Omri Sarig <omri.sarig@prevas.dk>
* Replace vim.opt with vim.o
Because it offers a nicer interface and info on hover.
For now leave vim.opt when using the table interface (until vim.o
with tables is implemented)
* Add type hint for vim.opt.rtp
* Add a comment about using vim.opt instead of vim.o