Commit Graph

478 Commits

Author SHA1 Message Date
ray-x
91d1366b65 update treesitter for 0.6.1 pipeline 2022-07-02 12:20:11 +10:00
ray-x
d951a5fcd2 fix for test failure 2022-07-02 11:12:58 +10:00
ray-x
68eb18c310 offset for definition preview 2022-06-30 01:39:06 +10:00
ray-x
8d77c3ab1e bug fix for #166 not all items shown in listview. Also add flag allow control when the ts info will be added
update readme
2022-06-29 14:53:50 +10:00
ray-x
309afcd681 update pipeline for neovim 0.7.2 2022-06-29 10:17:08 +10:00
rayx
9f7bd6ebff
Feature/198 calltree (#199)
* refactor hierarchy.lua

* show side panel for hierarchy

* allow call hierarchy to fold and expand to show call tree

* update command maps
2022-06-28 14:40:19 +10:00
ray-x
aba0d89745 remove traceback logs 2022-06-27 08:51:03 +10:00
ray-x
c1b0694bef map incoming/outgoing calls handler 2022-06-27 08:47:50 +10:00
ray-x
9dee73010b optimize treesitter symbol tree 2022-06-26 19:46:23 +10:00
ray-x
1b3a02df3e symbol indent level for embedded struct 2022-06-24 12:10:08 +10:00
ray-x
f856fa7033 issue #195 update doc for rust-tools and clang-extensions 2022-06-23 09:41:46 +10:00
rayx
1f6103ed95
Side panel (#197)
* add sidepanel

* revert some changes and fix nil indent level

* Add side panel; bugfix for ctags
2022-06-22 01:56:17 +10:00
ray-x
7bfd9157fe update TS fold 2022-06-17 19:36:21 +10:00
ray-x
48e35f4e56 hold ctags windows untils ctags cmd finished 2022-06-17 02:21:56 +10:00
ray-x
27442d2784 simpily codeaction and range_code_action keymapping and code 2022-06-16 13:40:06 +10:00
ray-x
3ad93531b5 unit tests for treesitter 2022-06-15 19:34:17 +10:00
ray-x
c15bae89ab doc updates for rust-tools #195 2022-06-15 17:38:38 +10:00
ray-x
61a82559d6 add treesitter tests 2022-06-15 17:37:45 +10:00
ray-x
f8985d7aa2 allow skip lsp clients setup 2022-06-14 08:56:49 +10:00
ray-x
516d643ffe lsp installer update issue #181 2022-06-12 20:44:20 +10:00
ray-x
6b4cfa3d59 symbol layout update 2022-06-12 08:39:23 +10:00
ray-x
cce0e90544 gui listview updates, allow listview cover more spaces 2022-06-11 16:11:11 +10:00
rayx
2f35446fbe
issue #192 pylsp range missing (#193)
* issue #192 pylsp range missing
2022-06-11 16:09:49 +10:00
ray-x
1908ea5175 improve line rendering when trim long text 2022-06-08 16:56:46 +10:00
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
ray-x
51a05252a5 reformat reference_spec 2022-05-19 23:19:28 +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
Michael Adler
ff4bcc6d83
doc(packer): depend on nvim-lspconfig (#188) 2022-05-18 23:19:21 +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
45385ccc9a bumpup test image to ubuntu 22.04 2022-05-14 20:42:59 +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
rayx
c416d99f6f
Merge branch 'master' into serverCapcities 2022-04-30 21:47:14 +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