Commit Graph

157 Commits

Author SHA1 Message Date
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
85e3f6e045 Allow user pass the lua-dev setup into navigator 2022-07-10 11:05:05 +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
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
3f49769abc lint all codes 2022-06-02 01:41:26 +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
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
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
5c8b3b9ca1 bugfix #157 failed to override clangd setup 2022-04-04 16:15:30 +10: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
2c7334e1b6 Merge branch 'master' into neovim_0.7 2022-02-24 19:08:41 +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
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
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