Commit Graph

162 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
RVonHoog 99046314cd Feat: added hardtime 2024-04-10 19:21:43 -07:00
Damjan 9000 d605b840a2
Don't lazy load conform plugin (#818) 2024-03-31 20:00:11 -04:00
Damjan 9000 1175f6d25a
Add a keymap space-f to format buffer using conform (#817)
This works also for visual range selection
Copied from conform recipe:
https://github.com/stevearc/conform.nvim/blob/master/doc/recipes.md
2024-03-31 13:36:43 -04:00
Liu Qisheng 2877a60e00
fix #799 (#800)
Add `'luadoc'`, to the `ensure_installed` of `nvim-treesitter/nvim-treesitter`
2024-03-27 10:16:48 -04:00
Togglebit 65a5ac404b
Some suggestions and capitalised a few words (#771) 2024-03-18 13:35:53 -04:00
Fredrik Averpil 8e24ca32e3
feat: add linter plugin (#699) 2024-03-18 10:00:48 -04:00
Shane Crowley b81115d002
assign table to filetype in lua_ls config comment (#770) 2024-03-18 09:57:48 -04:00
Damjan 9000 ea4335f5af
conform: disable autoformat on save for specified filetypes (#694)
Provide a method to disable autoformat on save lsp fallback for
specified filetypes. By default disable for C/C++ as an example,
because it does not have a well standardized coding style.

Based on conform recipe:
https://github.com/stevearc/conform.nvim/blob/master/doc/recipes.md
2024-03-15 16:53:33 -04:00
TJ DeVries 7892c0c354 fix: disable ts indenting for Ruby
Tree-sitter indenting for ruby is pretty terrible.
But the fix requires a few steps, so showed those
and documented how you could do that for other languages
as well (with the tricky part being the
additional_vim_regex_highlighting trick)
2024-03-15 11:35:07 -04:00
TJ DeVries 5ac4b58f85 doc: add note about advanced luasnip features 2024-03-15 11:18:43 -04:00
Vladislav Grechannik 2f494e59ca
Move friendly snippets to dependencies of LuaSnip (#759)
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2024-03-15 10:35:42 -04:00
Rafael Zasas 452e3a73cf
Add <C-b>/<C-f> cmp mapping to scroll cmp docs (#750) 2024-03-15 10:12:41 -04:00
TLW 7715b7c2ee
doc: add info about timeoutlen (#691)
Add separate comment for `timeoutlen` option
`timeoutlen` option was under unrelated comment with `updatetime` option.
2024-03-15 09:54:49 -04:00
Chris Patti b529bc3359
Revert "Use `cmp-nvim-lua` as `nvim-cmp` source for neovim Lua API (#696)" (#755)
This reverts commit d8a1dbc4b4.
2024-03-12 18:09:47 -04:00
James Karefylakis d8a1dbc4b4
Use `cmp-nvim-lua` as `nvim-cmp` source for neovim Lua API (#696)
* Use cmp-nvim-lua as nvim-cmp source for neovim Lua API

* Move the dependency to a more suitable place
2024-03-12 17:12:35 -04:00
Damjan 9000 000a5c42b0
Added folke/neodev.nvim for proper nvim api completion and annotation (#754)
Fixes nvim-lua/kickstart.nvim#692

`neodev` configures Lua LSP for your Neovim config, runtime and plugins
used for completion, annotations and signatures of Neovim apis

With neodev, there's no more need to manually set lua_ls workspace
settings which don't seem to work properly anyway as currently nvim
api completion does not work.
2024-03-12 17:06:12 -04:00
Chiller Dragon cb1f16b8ca
chore: rename <C-T> to <C-t> for consistency (#719) 2024-03-11 19:20:39 -04:00
Ryan Baumgardner c0d6f98924
feat: allow treesitter defaults to be overwritten from custom directory (#732) 2024-03-11 19:18:45 -04:00
name.tar.xz 3cfccc01be
use init for colorscheme (#715) 2024-03-09 15:25:08 -05:00
Damjan 9000 66e2a5a425
Make the Nerd Font an optional requirement (#716) 2024-03-06 11:49:44 -05:00
Ryan Winchester f764b7bacd
Add more detail to colorscheme comment (#713) 2024-03-05 20:19:06 -05:00
Damjan 9000 c3127f1226
Change statusline location to LINE:COLUMN (#689) 2024-03-04 08:16:50 -05:00