Commit Graph

350 Commits

Author SHA1 Message Date
Damjan 9000
b939e2f5a1 Merge 'upstream' Fix highlight errors when lsp crash or stop 2024-04-22 18:07:12 +02:00
Francis Belanger
81f270a704
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
Damjan 9000
74136a1db7 Merge 'upstream' Fix deprecation notice of inlay hints 2024-04-22 14:01:50 +02:00
Vladislav Grechannik
f92fb11d68
Fix deprecation notice of inlay hints (#873) 2024-04-22 07:27:13 -04:00
Damjan 9000
98134335b8 Merge 'upstream' example of the classic complete keymaps
- Add a commented out example of the classic complete keymaps.
- Minor improvements of debian install instructions.
2024-04-20 20:12:35 +02:00
Damjan 9000
2e68a2c253
Add a commented out example of the classic complete keymaps. Fixes #866 (#868) 2024-04-20 13:14:49 -04:00
Damjan 9000
9f5176fc2a
Minor improvements of debian install instructions. Fixes #859 (#869) 2024-04-20 13:14:24 -04:00
Damjan 9000
77119da941 Merge 'upstream' Update README.md Debian install instructions 2024-04-20 18:03:57 +02:00
Evan Carroll
931ec5c226
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
Damjan 9000
b8b2e88521 Merge 'upstream' fix: restore Mason config timing for DAP startup 2024-04-20 14:05:56 +02:00
GameFuzzy
b07176aef6
fix: restore Mason config timing for DAP startup (again) (#865) 2024-04-19 13:50:42 -04:00
Damjan 9000
517da30837 Merge 'upstream' Add gitsigns recommended keymaps
Note, the upstream base gitsigns config and optional gitsigns plugin are merged
into the same plugin spec, so the gitsigns keymaps are enabled by default.
2024-04-18 11:11:37 +02:00
Damjan 9000
f5c9fe8e15
Add gitsigns recommended keymaps as an optional plugin (#858) 2024-04-17 21:00:39 -04:00
Damjan 9000
3d2daa7965 Merge 'upstream' Move plugin examples from README to optional plugin files 2024-04-17 23:08:09 +02:00
Damjan 9000
5e258d276f
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
Damjan 9000
b6b33e61a4 Merge 'upstream' prefer_git, inlay hints
- add prefer_git to treesitter config
- Enable inlay hints for the supporting servers
2024-04-17 20:42:05 +02:00
Vladislav Grechannik
5540527fab
Enable inlay hints for the supporting servers (#843) 2024-04-17 14:04:55 -04:00
Chris Patti
6d6b3f38c1
Fix: #847 - add prefer_git to treesitter config (#856) 2024-04-17 14:02:24 -04:00
Damjan 9000
c0ac446e58 Merge 'upstream' Comment about nerd font selection. 2024-04-17 16:33:32 +02:00
Damjan 9000
fabeb86d8b
Comment about nerd font selection. Fixes #853 (#854) 2024-04-17 09:59:14 -04:00
Damjan 9000
478a830642 Merge 'upstream' README: Arch Install Steps 2024-04-16 17:36:56 +02:00
rdvm
e2bfa0c66f
Arch, btw (#852)
* Arch, btw

* Add unzip

* Add unzip for Fedora and --needed arg for Arch
2024-04-16 11:29:27 -04:00
Damjan 9000
3348ec2bc7 Merge 'upstream' README: add git to ubuntu install 2024-04-09 19:11:04 +02:00
Viet
23773900d9
Update README (#832) 2024-04-08 16:13:22 -04:00
Damjan 9000
e0476d9d69 Merge 'upstream' Add a pull request template 2024-04-04 16:44:50 +02:00
Damjan 9000
c4363e4ad8
Add a pull request template (#825) 2024-04-04 10:31:37 -04:00
Damjan 9000
0ef9368800 Merge 'upstream' README: move backup and paths from external deps to install section 2024-04-01 17:46:48 +02:00
Damjan 9000
19afab1641
README: move backup and paths from external deps to install section (#819) 2024-04-01 10:36:32 -04:00
Damjan 9000
3d468e97cd Merge 'upstream' Don't lazy load conform plugin 2024-04-01 10:02:30 +02:00
Damjan 9000
d605b840a2
Don't lazy load conform plugin (#818) 2024-03-31 20:00:11 -04:00
Damjan 9000
2cd884a025 Merge 'upstream' Add a keymap space-f to format buffer using conform 2024-03-31 21:02:21 +02: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
Damjan 9000
dc9eb06f47 Merge 'upstream' Add luadoc in treesitter, instructions to quit lazy
- Add `'luadoc'`, to the `ensure_installed` of `nvim-treesitter/nvim-treesitter`
- Add instructions to quit :lazy
2024-03-28 09:57:19 +01:00
Chris Patti
93fde0556e Add instructions to quit :lazy. Fixes #761 2024-03-27 11:22:28 -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
Damjan 9000
a037d1d4d6 Merge branch 'upstream' README: wrap long lines 2024-03-22 09:47:09 +01:00
Damjan 9000
dbba54cfd8
README: wrap long lines (#784) 2024-03-21 15:47:55 -04:00
Damjan 9000
2860431c6d Merge 'upstream' Update README.md (reordering of recommended steps) 2024-03-20 20:40:11 +01:00
E
4c02e29e49
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
Damjan 9000
01970d6888 Merge 'upstream' Add nvim-nio as dependency for nvim-dap-ui 2024-03-19 10:50:34 +01:00
José Miguel Sarasola
773e482d4b
Add nvim-nio as dependency for nvim-dap-ui (#774)
It's a dependency now
2024-03-18 17:38:14 -04:00
Damjan 9000
d20d58c3e8 Merge 'upstream' Some suggestions and capitalised a few words 2024-03-18 18:50:47 +01:00
Togglebit
65a5ac404b
Some suggestions and capitalised a few words (#771) 2024-03-18 13:35:53 -04:00
Damjan 9000
b59b1d2a3d Merge 'upstream' feat: add linter plugin, lua_ls config comment
- feat: add linter plugin
- assign table to filetype in lua_ls config comment
2024-03-18 17:43:59 +01: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
7829fe9d26 Merge 'upstream' README: additional install recipes for various OS 2024-03-17 21:36:24 +01:00
Damjan 9000
a222805c61
README: additional install recipes for various OS (#767) 2024-03-17 16:22:58 -04:00
Damjan 9000
1ac2734841 Merge 'upstream' conform: disable autoformat on save for specified filetypes 2024-03-15 22:10:28 +01: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