Commit Graph

296 Commits

Author SHA1 Message Date
jstrot 18b909236d Add explicit dependency of nvim-lspconfig on cmp-nvim-lsp (#1042) 2024-07-29 20:02:37 -04:00
jstrot 4973349784 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
2024-07-29 20:01:19 -04:00
abeldekat aa344b3b47 performance: defer clipboard because xsel and pbcopy can be slow (#1049) 2024-07-28 17:41:34 -04:00
Ihsan Tonuzi 4e6e0db7e5 refactor: remove lazydev and luvit-meta as lsp dependencies (#1047) 2024-07-28 17:39:34 -04:00
Brandon Clark 693713c83d Modify conform comments to prevent deprecation warning when used (#1057) 2024-07-28 12:43:08 -04:00
Arvin Verain 9e0f306ab8 Remove redundant hlsearch option (#1058) 2024-07-28 12:39:54 -04:00
Richard Macklin f5d2ad10f6 Update comment about the toggle inlay hints keymap (#1041) 2024-07-22 13:00:35 -04:00
srdtrk 45c1ee09dc 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>
2024-07-21 22:21:21 -04:00
Richard Macklin a986882465 Update lazydev config to fix "Undefined field `fs_stat`" LSP error (#1040)
dc3dcc5a1c 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.
2024-07-21 22:08:09 -04:00
Vladislav Grechannik dc3dcc5a1c 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>
2024-07-21 20:35:07 -04:00
Richard Macklin f20f0f5b2e Fix comment about mini.ai example (#985)
This example wasn't using `'` so this makes more sense
2024-07-21 16:34:51 -04:00
Vladislav Grechannik 7c37cfa639 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.
2024-07-21 16:34:17 -04:00
Artyom 83a289ae6a 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`
2024-07-21 16:33:26 -04:00
Vladislav Grechannik c361ae05a5 Make debug lazy loadable (#978) 2024-07-21 16:24:57 -04:00
Tom Kuson 2606000d6b Remove redundant require (#959) 2024-07-21 16:22:44 -04:00
Damjan 9000 1dbc74dc31 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
2024-07-21 16:22:10 -04:00
TJ DeVries 6f64ee1384 fix: add required parsers from nvim-treesitter 2024-07-17 21:37:31 -04:00
Folke Lemaitre fca8610331 fix(lazy): added error handling for bootstrap (#1001) 2024-07-16 12:06:47 -04:00
Vladislav Grechannik 024767ee1f which-key v3 update (#1022)
* which-key v3 update

* remove unneeded brackets from which-key registration
2024-07-16 12:05:40 -04:00
Per Malmberg 74322d795c Automatically set detached state as needed. (#925)
* Automatically set detached state as needed.

* Use vim.fn.has instead.

* Fix int vs bool.
2024-05-10 13:43:22 -04:00
Smig 4c50790e26 fix: debug.lua (#918) 2024-05-08 10:55:49 -04:00
Richard Macklin b46a24a8c9 Add diff to treesitter's ensure_installed languages (#908) 2024-05-05 21:01:39 -04:00
Damjan 9000 083764a71b 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.
2024-05-02 16:53:07 -04:00
Damjan 9000 9166575b5b 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.
2024-04-27 16:40:27 -04:00
Adolfo Gante 32cc8b66f0 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."
2024-04-22 17:15:42 -04:00
Francis Belanger 7464adef9b fix: highlight group clear on each attach (#874) 2024-04-22 15:53:45 -04:00
Francis Belanger 76c25b08cc 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>
2024-04-22 11:43:10 -04:00
Vladislav Grechannik c3b0103a3e Fix deprecation notice of inlay hints (#873) 2024-04-22 07:27:13 -04:00
Damjan 9000 563007e2f4 Add a commented out example of the classic complete keymaps. Fixes #866 (#868) 2024-04-20 13:14:49 -04:00
Damjan 9000 48d9f5c4d3 Minor improvements of debian install instructions. Fixes #859 (#869) 2024-04-20 13:14:24 -04:00
Evan Carroll 48fc8e09e8 Update README.md (#860)
Attempted fix for #859, provide reasonable Debian install instructions -- comment on GitHub issue with refinement.
2024-04-20 11:55:01 -04:00
GameFuzzy f72f7968e8 fix: restore Mason config timing for DAP startup (again) (#865) 2024-04-19 13:50:42 -04:00
Damjan 9000 5870387de0 Add gitsigns recommended keymaps as an optional plugin (#858) 2024-04-17 21:00:39 -04:00
Damjan 9000 9a288f82ee 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
2024-04-17 15:25:54 -04:00
Vladislav Grechannik 089656394e Enable inlay hints for the supporting servers (#843) 2024-04-17 14:04:55 -04:00
Chris Patti 6d4dabe8f6 Fix: #847 - add prefer_git to treesitter config (#856) 2024-04-17 14:02:24 -04:00
Damjan 9000 6a1017b237 Comment about nerd font selection. Fixes #853 (#854) 2024-04-17 09:59:14 -04:00
rdvm dfc4cf1971 Arch, btw (#852)
* Arch, btw

* Add unzip

* Add unzip for Fedora and --needed arg for Arch
2024-04-16 11:29:27 -04:00
Viet 255a510831 Update README (#832) 2024-04-08 16:13:22 -04:00
Damjan 9000 79e04bbdd4 Add a pull request template (#825) 2024-04-04 10:31:37 -04:00
Damjan 9000 ff6b7da996 README: move backup and paths from external deps to install section (#819) 2024-04-01 10:36:32 -04:00
Damjan 9000 4028a5224f Don't lazy load conform plugin (#818) 2024-03-31 20:00:11 -04:00
Damjan 9000 a8617dda6b 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
Chris Patti 9e4cf7ab24 Add instructions to quit :lazy. Fixes #761 2024-03-27 11:22:28 -04:00
Liu Qisheng 18670e4ebe fix #799 (#800)
Add `'luadoc'`, to the `ensure_installed` of `nvim-treesitter/nvim-treesitter`
2024-03-27 10:16:48 -04:00
Damjan 9000 1036049287 README: wrap long lines (#784) 2024-03-21 15:47:55 -04:00
E fab2f97950 Update README.md (#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.
2024-03-20 14:27:18 -04:00
José Miguel Sarasola 963c78a57d Add nvim-nio as dependency for nvim-dap-ui (#774)
It's a dependency now
2024-03-18 17:38:14 -04:00
Togglebit 8895c696ea Some suggestions and capitalised a few words (#771) 2024-03-18 13:35:53 -04:00
Fredrik Averpil e58ca75bf4 feat: add linter plugin (#699) 2024-03-18 10:00:48 -04:00