Commit Graph

395 Commits

Author SHA1 Message Date
ray-x
6c3ee44729 bugfix workspace symbol from multiple lsp clients 2022-06-07 02:19:53 +10:00
ray-x
6e937e9019 workspace symbole search improvements. allows to show interactive search results in the symbol list. 2022-06-06 20:20:20 +10:00
ray-x
01801ba8fa change ts not load notify level 2022-06-03 21:36:23 +10:00
ray-x
d0ab595b93 code action flicker 2022-06-02 19:24:55 +10:00
ray-x
3f49769abc lint all codes 2022-06-02 01:41:26 +10:00
ray-x
32ddd66dd2 fix for issue#191 2022-05-28 19:37:15 +10:00
ray-x
feb780fb10 reloaded client when failed 2022-05-22 11:36:25 +10:00
ray-x
ea2c207ec9 updates for client loading 2022-05-22 11:18:24 +10:00
ray-x
b249d1680a handle same lsp started multiple times (esp for those take long time to start ) issue #171 2022-05-21 10:26:20 +10:00
ray-x
13c3dd4072 disable logs when debug is not on 2022-05-20 15:07:42 +10:00
ray-x
a0eff2c5a3 Merge branch 'serverCapcities' 2022-05-20 14:59:02 +10:00
Michael Adler
2e96dcd327
fix(sumneko): fix incorrect usage of runtime.path (#189)
This is quite tricky to get right, because there are two ways for
sumneko to search for files, namely:

1. Lua.runtime.path

When using `require`, how to find the file based on the input name.
Setting this config to `?/init.lua` means that when you enter `require
'myfile'`, `${workspace}/myfile/init.lua` will be searched from the
loaded files.  if `runtime.pathStrict` is `false`,
`${workspace}/**/myfile/init.lua` will also be searched.  If you want to
load files outside the workspace, you need to set
`Lua.workspace.library` first.

2. Lua.workspace.library

In addition to the current workspace, which directories will load files
from. The files in these directories will be treated as externally
provided code libraries, and some features (such as renaming fields)
will not modify these files.

The crucial point is that `Lua.runtime.path` only applies to
the *current* workspace. Thus it makes no sense to add any absolute
directories here. Absolute directories must be added to
workspace.library, which is already the case. The default value provided
by sumneko is what you typically would expect, so I have switched to it.

References:

- 076dd3e5c4/locale/en-us/setting.lua (L5-L13)
- e62d964ff5/script/config/config.lua (L151)
2022-05-19 23:09:16 +10:00
ray-x
8a32139e1a lsp installer path issue #187 2022-05-17 23:15:16 +10:00
rayx
a73fb38ef9
update resolved_capacities -> server_capacities (#185)
* update resolved_capacities

* format renaming

* remove comments

* remove mk_handler. update documentFormator

* bumpup test image to ubuntu 22.04

* add logs when neovim is lower than 0.8
2022-05-15 23:13:01 +10:00
ray-x
96ca715ea6 add logs when neovim is lower than 0.8 2022-05-15 22:40:22 +10:00
ray-x
4d93172915 remove mk_handler. update documentFormator 2022-05-11 00:22:18 +10:00
ray-x
0ac13663cf remove comments 2022-05-08 21:52:21 +10:00
ray-x
500553ae6b format renaming 2022-05-08 21:09:44 +10:00
ray-x
d1836f4299 update resolved_capacities 2022-04-30 21:45:26 +10:00
rayx
5131b30ad7
clangd on_attach 2022-04-30 21:38:40 +10:00
ray-x
eb75b09a33 issue #183 clangd missing bufnr 2022-04-28 23:06:44 +10:00
ray-x
93e28f36d0 issue #182 vim nottify in on_attach did not setup log level 2022-04-28 19:56:18 +10:00
ray-x
77b572dd5a terraform_lsp 2022-04-26 21:25:47 +10:00
ray-x
03d0aaa05d add tflint 2022-04-25 19:51:11 +10:00
ray-x
0c31d692ee https://github.com/ray-x/navigator.lua/pull/179 and issue #177 lsp codelens enable 2022-04-25 09:29:20 +10:00
ray-x
9ceeb41b6f issue #175 format on save 2022-04-24 20:02:53 +10:00
ray-x
c2c1c57136 terraform tf/tfvars, diagnostic show&hide, diagnostic default override 2022-04-20 21:52:45 +10:00
ray-x
cd53b02f93 use native get_node_text 2022-04-20 20:54:40 +10:00
ray-x
15e6b315b7 add logs 2022-04-17 15:13:54 +10:00
ray-x
31f2f920e1 lsp encoding default value 2022-04-16 21:51:52 +10:00
ray-x
23e25c298e issue #164 disable declaration only in reference 2022-04-10 18:59:43 +10:00
ray-x
8b43ed23e2 change the way checking total number of clients attached #167 2022-04-08 17:01:40 +10:00
ray-x
8dbac5efc9 issue #168 ccls highlight 2022-04-08 16:14:47 +10:00
ray-x
d08d78f6a4 skip the reorder for codeaction. Null-ls is default to be in bottom of the list 2022-04-07 12:20:07 +10:00
ray-x
3d217bffce prevent recursion loop 2022-04-07 11:37:14 +10:00
ray-x
2ed33d7d60 stylua 2022-04-06 06:49:12 +10:00
ray-x
e55ae08e9d bugfix #163 defination not found 2022-04-06 06:47:47 +10:00
ray-x
d990da84a6 bugfix #161 callhierachy ccls assertion 2022-04-05 10:06:07 +10:00
ray-x
bb018d541b issue #161 ccls failure 2022-04-05 02:42:49 +10:00
ray-x
5c8b3b9ca1 bugfix #157 failed to override clangd setup 2022-04-04 16:15:30 +10:00
ray-x
7f22411b1f issue #156 Can't disable virutal text 2022-03-17 03:03:49 +11:00
ray-x
ab96133b47 support config from a lazy function 2022-03-10 12:25:31 +11:00
ray-x
34c3bc9c76 Merge branch 'master' into neovim_0.7 2022-03-09 09:46:50 +11:00
studierer
035917c57a
add more lsp (#152) 2022-03-05 21:27:25 +11:00
ray-x
3e03e37d9f update terraform setup 2022-03-04 17:25:27 +11:00
ray-x
5773f66d14 terraform updates 2022-03-04 17:20:03 +11:00
ray-x
74eccbd799 Merge branch 'master' into neovim_0.7 2022-03-01 21:42:06 +11:00
ray-x
0346fc3c0f hash key update 2022-03-01 21:41:52 +11:00
ray-x
b2d846647b Merge branch 'master' into neovim_0.7 2022-02-26 19:27:06 +11:00
ray-x
cfe8738ad5 disable filetype 'gitcommit' 2022-02-26 19:25:40 +11:00
ray-x
982fe81922 Merge branch 'master' into neovim_0.7 2022-02-26 19:01:36 +11:00
ray-x
d024335c91 update client loading 2022-02-26 19:01:12 +11:00
ray-x
41593cb7e4 remove json from auto highlight autocmd 2022-02-26 18:06:36 +11:00
ray-x
429cd16292 remove json from highlight autocmd 2022-02-26 18:05:50 +11:00
ray-x
2c7334e1b6 Merge branch 'master' into neovim_0.7 2022-02-24 19:08:41 +11:00
ray-x
3adbbaf509 remove terraform from auto highlight 2022-02-24 19:07:57 +11:00
ray-x
ff8ae83300 reverse sort lsp actions 2022-02-24 19:03:28 +11:00
Joseph DelCioppio
b10964e5a2
Add support for ELixir LS (#149) 2022-02-23 02:55:47 +11:00
ray-x
e4b2fc0afe merge master 2022-02-22 19:41:21 +11:00
ray-x
2e43b8ee0a merge master 2022-02-21 15:22:05 +11:00
ray-x
2232317b0a combine on_attach 2022-02-21 14:57:36 +11:00
ray-x
ff57a1f916 force keymap to be loaded when on_attach is not called it may releated to #130 2022-02-21 11:42:24 +11:00
ray-x
f0c5610a1f merge master 2022-02-19 14:59:31 +11:00
ray-x
c7872c83a8 merge master 2022-02-19 10:55:09 +11:00
ray-x
bf2e867354 lint 2022-02-19 10:51:27 +11:00
ray-x
11d25933ad move capabilities checn around 2022-02-18 13:30:02 +11:00
ray-x
8e9bf39f13 allow config lsp with function 2022-02-18 08:37:05 +11:00
ray-x
ccb1bac250 lazy load with func for client config 2022-02-18 08:34:48 +11:00
ray-x
62477b294e drop neovim 0.5 deprecated API 2022-02-17 22:21:34 +11:00
ray-x
c03cbca758 update keymaps for gd 2022-02-17 14:54:52 +11:00
ray-x
2d5290d3d6 gd keymaps 2022-02-16 22:50:06 +11:00
David de Rosier
dcabc38a12
Fixes problem with disabling icons not working (#142) (#143) 2022-02-01 09:56:32 +11:00
ray-x
c9f34ac179 check doc highlight 2022-01-31 23:30:59 +11:00
ray-x
2344a9d611 override cfg.cmd setting only when installer is used and no valid cmd is provided 2022-01-19 11:13:37 +11:00
ray-x
1f3ae4a675 update readme of log path, remove lspinstaller logs 2022-01-19 08:02:33 +11:00
ray-x
45e0698d00 issue #137 lspinstaller API changed 2022-01-19 03:32:56 +11:00
ray-x
5b2e003258 disable trace 2022-01-18 17:14:47 +11:00
ray-x
72ed02f879 locations_to_items offset_encoding 2022-01-18 16:25:48 +11:00
ray-x
92296c9fc8 dochl client offset encoding 2022-01-17 16:16:31 +11:00
ray-x
96885ae509 add log message when bufnr is not provided 2022-01-17 16:08:18 +11:00
ray-x
4ca6b376a7 breaking changes: https://github.com/neovim/neovim/issues/14090, issue #136 2022-01-17 16:03:48 +11:00
ray-x
da9448a88c neovim breaking changes: offset_encoding 2022-01-16 15:36:28 +11:00
ray-x
3bc154bbb3 issue #135 bugfix 2022-01-14 10:36:54 +11:00
ray-x
e80f004f5b issue #133 change gT map to <Leader>gt 2022-01-12 20:12:51 +11:00
ray-x
73dfd12f0f async handler check status before close 2022-01-10 01:52:32 +11:00
ray-x
4144024068 allow to config when will the fuzzy finder prompt to be shown 2022-01-08 22:47:43 +11:00
ray-x
a0679626e2 cleanup code 2022-01-06 22:06:40 +11:00
ray-x
1202df85cd update notify message when symbol not found #126 2022-01-06 15:37:37 +11:00
ray-x
b89811b1b6 bugfix issue #126 2022-01-04 14:38:09 +11:00
ray-x
c3f6b14233 #124 viewctlobject error 2021-12-30 16:05:25 +11:00
ray-x
23090c567c updates vim.notify 2021-12-29 15:50:41 +11:00
ray-x
aa9b80e848 empty func 2021-12-29 15:28:34 +11:00
ray-x
19969e3902 keymap bugfix #119 2021-12-25 12:43:40 +11:00
ray-x
47bcf183b8 nil check 2021-12-24 17:48:54 +11:00
ray-x
abf5de64fd update gui for workspace symbol 2021-12-24 17:30:56 +11:00
ray-x
873135bf9a lsp def and lsp ref with async request 2021-12-23 19:17:48 +11:00
ray-x
c528b58bb9 replace print to notify, add workspace gui 2021-12-23 16:37:39 +11:00
ray-x
85d907ffaf add lspkeymaphelp command to show the current keymapping 2021-12-19 13:16:17 +11:00
ray-x
5ab4dffba5 add gohtmltmpl in default setup 2021-12-18 15:23:34 +11:00
ray-x
e869cedba3 cleanup 2021-12-17 09:09:25 +11:00