Commit Graph

253 Commits

Author SHA1 Message Date
ray-x
b131251ad8 send floating view result to quickfix; de-duplicate references 2022-08-01 22:32:15 +10:00
ray-x
8978bdb1e3 issue #219 missing end 2022-08-01 08:45:14 +10:00
ray-x
ae251289b3 issue #218 range format operator 2022-08-01 03:09:43 +10:00
ray-x
6c0e286170 update readme for on_attach 2022-07-31 15:49:00 +10:00
ray-x
5713f79265 clear autocmd #191 2022-07-29 19:02:43 +10:00
ray-x
fca2fa5aaa some version of neovim does not support underline etc 2022-07-28 09:38:27 +10:00
rayx
49dbca889d
Update clients.lua 2022-07-27 06:43:42 -07:00
ray-x
861ae038dd underdouble is not supported by 0.7.x 2022-07-27 18:21:11 +10:00
ray-x
dcc40278c5 use create_autocmd API; split clients.lua into 3 files 2022-07-27 18:17:07 +10:00
ray-x
6736293182 split sumneko 2022-07-27 17:25:02 +10:00
ray-x
10ef469286 issue #214 lsp_installer loading 2022-07-27 17:20:07 +10:00
ray-x
89dd02c927 using neovim 0.7.0 api for autocmd 2022-07-27 14:36:29 +10:00
ray-x
bbdf86a66e refactor highlight setup. it is for #216 and also using API from neovim 0.7 now 2022-07-27 12:17:02 +10:00
ray-x
c3ef990390 lint 2022-07-27 00:24:40 +10:00
ray-x
348ab9dced mason support #215 2022-07-26 14:29:38 +10:00
ray-x
967fd32bae prevent autocmd being call in a loop 2022-07-20 00:51:16 +10:00
ray-x
4aef8dc5f2 dartls installer not working #212 2022-07-19 12:37:17 +10:00
ray-x
0de6c290cf issue #211 tsserver not working 2022-07-19 07:58:55 +10:00
ray-x
9aad2978dc resend filetype if lsp not ready 2022-07-18 21:43:55 +10:00
ray-x
49c3e5cd4d prevent compare number to bool. As the name for html LSP is html 2022-07-18 08:18:19 +10:00
rayx
05dfed9ed9
issue #171 multiple lsp server started (#205)
* issue #171 multiple lsp server started

* neovim 0.6.1
2022-07-17 09:26:26 +10:00
ray-x
05753da8db add deprecate message 2022-07-12 11:09:56 +10:00
ray-x
85e3f6e045 Allow user pass the lua-dev setup into navigator 2022-07-10 11:05:05 +10:00
ray-x
c30ccd07c9 add options for lsp.buf.format()
update keymap doc
2022-07-09 19:23:48 +10:00
ray-x
3fe9a876c4 bugfix hover keymaps not mapped correctly 2022-07-04 10:03:54 +10:00
rayx
acca6009e0
[Breaking] using vim.keymap.set, breaking changes (#200)
* using vim.keymap.set, breaking changes

* update keymaps

* doc updates
2022-07-04 00:13:19 +10:00
ray-x
22e858f261 #195 update doc for rust-tool, make client/bufnr require fields for mapping.setup(opts) when calling from rust/clangd on_attach 2022-07-03 11:37:56 +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
c1b0694bef map incoming/outgoing calls handler 2022-06-27 08:47:50 +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
27442d2784 simpily codeaction and range_code_action keymapping and code 2022-06-16 13:40:06 +10:00
ray-x
61a82559d6 add treesitter tests 2022-06-15 17:37:45 +10:00
ray-x
516d643ffe lsp installer update issue #181 2022-06-12 20:44:20 +10:00
ray-x
cce0e90544 gui listview updates, allow listview cover more spaces 2022-06-11 16:11:11 +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
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
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
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
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
3d217bffce prevent recursion loop 2022-04-07 11:37:14 +10:00