Commit Graph

420 Commits

Author SHA1 Message Date
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
Shane Crowley 3cc014b5fc assign table to filetype in lua_ls config comment (#770) 2024-03-18 09:57:48 -04:00
Damjan 9000 adfbdeab91 README: additional install recipes for various OS (#767) 2024-03-17 16:22:58 -04:00
Damjan 9000 40999d32be 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
stgpepper bfbb8eec8f Update README.md (#763)
Added file text to code block for consistency since the other plugin had file also inside code block.
2024-03-15 16:51:41 -04:00
TJ DeVries 15098f9b4c 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 c314857f2c doc: add note about advanced luasnip features 2024-03-15 11:18:43 -04:00
Vladislav Grechannik 366f401a7f 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 ed32b88ff3 Add <C-b>/<C-f> cmp mapping to scroll cmp docs (#750) 2024-03-15 10:12:41 -04:00
TLW 8d73f7d20a 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 205c04b2b5 Revert "Use `cmp-nvim-lua` as `nvim-cmp` source for neovim Lua API (#696)" (#755)
This reverts commit a9fa4c6cc8.
2024-03-12 18:09:47 -04:00
James Karefylakis a9fa4c6cc8 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 4733fbe5a7 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 1b79a29bc2 chore: rename <C-T> to <C-t> for consistency (#719) 2024-03-11 19:20:39 -04:00
Ryan Baumgardner ba48d61b73 feat: allow treesitter defaults to be overwritten from custom directory (#732) 2024-03-11 19:18:45 -04:00
Damjan 9000 c99171f460 README.md: update neo-tree example - remove legacy setting (#744) 2024-03-11 17:52:18 -04:00
name.tar.xz 92826b9b32 use init for colorscheme (#715) 2024-03-09 15:25:08 -05:00
Nora Ayesha bcc1f102d8 Fix typos and whatnot (#731) 2024-03-08 15:26:32 -05:00
Damjan 9000 a9f2db5873 Make the Nerd Font an optional requirement (#716) 2024-03-06 11:49:44 -05:00
Ryan Winchester 55d3128edd Add more detail to colorscheme comment (#713) 2024-03-05 20:19:06 -05:00
Chiller Dragon c37d78cff1 chore: link new installation youtube video (#678) 2024-03-04 08:47:45 -05:00
Chiller Dragon 4966fcd983 chore: remove trailing spaces from readme (#679) 2024-03-04 08:47:11 -05:00
Damjan 9000 dbd48e258a Change statusline location to LINE:COLUMN (#689) 2024-03-04 08:16:50 -05:00
Damjan 9000 bce0a02764 fix: checkhealth reported nvim version (#685) 2024-03-03 19:32:06 -05:00
TJ DeVries a5e15fb5d2 fix: add note in readme for custom plugins 2024-03-03 03:13:16 -05:00
Damjan 9000 6205c93462 README.md: updated windows install instructions (#674) 2024-03-02 21:12:55 -05:00
Taulant Aliraj 77156e78ba feat: use VimEnter event instead of VeryLazy (#673) 2024-03-02 21:07:58 -05:00