Commit Graph

452 Commits (master)

Author SHA1 Message Date
ray-x 9aad2978dc resend filetype if lsp not ready 2 years ago
ray-x 49c3e5cd4d prevent compare number to bool. As the name for `html` LSP is `html` 2 years ago
ray-x 47545e03c0 default border hl to FloatBorder 2 years ago
ray-x e5d16e4488 renaming highight group from GHxxx to Guihuaxxx 2 years ago
ray-x 3d9a9582dd bugfix #206 diagnostic failure 2 years ago
rayx 05dfed9ed9
issue #171 multiple lsp server started (#205)
* issue #171 multiple lsp server started

* neovim 0.6.1
2 years ago
ray-x 05753da8db add deprecate message 2 years ago
ray-x 85e3f6e045 Allow user pass the lua-dev setup into navigator 2 years ago
ray-x c30ccd07c9 add options for lsp.buf.format()
update keymap doc
2 years ago
ray-x 4c5d0e67d0 remove table nil handling 2 years ago
ray-x be6da35767 improve treesitter folding 2 years ago
ray-x f567f1b99c dedup definition for script languages 2 years ago
ray-x a93f7cb20f dedup reference results 2 years ago
ray-x 289f67013d indent fallback if treesitter not found 2 years ago
ray-x 56b00b83d5 diagnostic func failed to keymap 2 years ago
ray-x 3fe9a876c4 bugfix hover keymaps not mapped correctly 2 years ago
rayx acca6009e0
[Breaking] using vim.keymap.set, breaking changes (#200)
* using vim.keymap.set, breaking changes

* update keymaps

* doc updates
2 years ago
ray-x a225d18eaf new tests for hierarchy, refactor reference_spec test 2 years ago
ray-x 7d84a9f0c0 issue #201 vfn nil 2 years ago
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 2 years ago
ray-x 724d5f3439 add scope info in treesitter panel 2 years ago
ray-x 3dc8c02c39 add scope info in panel 2 years ago
ray-x 91d1366b65 update treesitter for 0.6.1 pipeline 2 years ago
ray-x d951a5fcd2 fix for test failure 2 years ago
ray-x 68eb18c310 offset for definition preview 2 years ago
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
2 years ago
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
2 years ago
ray-x aba0d89745 remove traceback logs 2 years ago
ray-x c1b0694bef map incoming/outgoing calls handler 2 years ago
ray-x 9dee73010b optimize treesitter symbol tree 2 years ago
ray-x 1b3a02df3e symbol indent level for embedded struct 2 years ago
rayx 1f6103ed95
Side panel (#197)
* add sidepanel

* revert some changes and fix nil indent level

* Add side panel; bugfix for ctags
2 years ago
ray-x 7bfd9157fe update TS fold 2 years ago
ray-x 48e35f4e56 hold ctags windows untils ctags cmd finished 2 years ago
ray-x 27442d2784 simpily codeaction and range_code_action keymapping and code 2 years ago
ray-x 3ad93531b5 unit tests for treesitter 2 years ago
ray-x 61a82559d6 add treesitter tests 2 years ago
ray-x f8985d7aa2 allow skip lsp clients setup 2 years ago
ray-x 516d643ffe lsp installer update issue #181 2 years ago
ray-x 6b4cfa3d59 symbol layout update 2 years ago
ray-x cce0e90544 gui listview updates, allow listview cover more spaces 2 years ago
rayx 2f35446fbe
issue #192 pylsp range missing (#193)
* issue #192 pylsp range missing
2 years ago
ray-x 1908ea5175 improve line rendering when trim long text 2 years ago
ray-x 6c3ee44729 bugfix workspace symbol from multiple lsp clients 2 years ago
ray-x 6e937e9019 workspace symbole search improvements. allows to show interactive search results in the symbol list. 2 years ago
ray-x 01801ba8fa change ts not load notify level 2 years ago
ray-x d0ab595b93 code action flicker 2 years ago
ray-x 3f49769abc lint all codes 2 years ago
ray-x 32ddd66dd2 fix for issue#191 2 years ago
ray-x feb780fb10 reloaded client when failed 2 years ago
ray-x ea2c207ec9 updates for client loading 2 years ago
ray-x b249d1680a handle same lsp started multiple times (esp for those take long time to start ) issue #171 2 years ago
ray-x 13c3dd4072 disable logs when debug is not on 2 years ago
ray-x a0eff2c5a3 Merge branch 'serverCapcities' 2 years ago
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)
2 years ago
ray-x 8a32139e1a lsp installer path issue #187 2 years ago
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
2 years ago
ray-x 96ca715ea6 add logs when neovim is lower than 0.8 2 years ago
ray-x 4d93172915 remove mk_handler. update documentFormator 2 years ago
ray-x 0ac13663cf remove comments 2 years ago
ray-x 500553ae6b format renaming 2 years ago
ray-x d1836f4299 update resolved_capacities 2 years ago
rayx 5131b30ad7
clangd on_attach 2 years ago
ray-x eb75b09a33 issue #183 clangd missing bufnr 2 years ago
ray-x 93e28f36d0 issue #182 vim nottify in on_attach did not setup log level 2 years ago
ray-x 77b572dd5a terraform_lsp 2 years ago
ray-x 03d0aaa05d add tflint 2 years ago
ray-x 0c31d692ee https://github.com/ray-x/navigator.lua/pull/179 and issue #177 lsp codelens enable 2 years ago
ray-x 9ceeb41b6f issue #175 format on save 2 years ago
ray-x c2c1c57136 terraform tf/tfvars, diagnostic show&hide, diagnostic default override 2 years ago
0x7a7a 595263e8b4
fix diagnostic cfg path error (#173)
* fix diagnostic cfg path error

* add defult lsp.diagnostic setting

* Update navigator.lua

Simplify logic

Co-authored-by: rayx <rayx.cn@gmail.com>
2 years ago
ray-x cd53b02f93 use native get_node_text 2 years ago
ray-x 15e6b315b7 add logs 2 years ago
ray-x 31f2f920e1 lsp encoding default value 2 years ago
ray-x 23e25c298e issue #164 disable declaration only in reference 2 years ago
ray-x 8b43ed23e2 change the way checking total number of clients attached #167 2 years ago
ray-x 8dbac5efc9 issue #168 ccls highlight 2 years ago
ray-x d08d78f6a4 skip the reorder for codeaction. Null-ls is default to be in bottom of the list 2 years ago
ray-x 3d217bffce prevent recursion loop 2 years ago
ray-x 2ed33d7d60 stylua 2 years ago
ray-x e55ae08e9d bugfix #163 defination not found 2 years ago
ray-x d990da84a6 bugfix #161 callhierachy ccls assertion 2 years ago
ray-x bb018d541b issue #161 ccls failure 2 years ago
ray-x b69154f9ee nil handling 2 years ago
ray-x 5c8b3b9ca1 bugfix #157 failed to override clangd setup 2 years ago
ray-x 7f22411b1f issue #156 Can't disable virutal text 2 years ago
ray-x ab96133b47 support config from a lazy function 2 years ago
ray-x 34c3bc9c76 Merge branch 'master' into neovim_0.7 2 years ago
studierer 035917c57a
add more lsp (#152) 2 years ago
ray-x 3e03e37d9f update terraform setup 2 years ago
ray-x 5773f66d14 terraform updates 2 years ago
ray-x 74eccbd799 Merge branch 'master' into neovim_0.7 2 years ago
ray-x 0346fc3c0f hash key update 2 years ago
ray-x b2d846647b Merge branch 'master' into neovim_0.7 2 years ago
ray-x cfe8738ad5 disable filetype 'gitcommit' 2 years ago
ray-x 982fe81922 Merge branch 'master' into neovim_0.7 2 years ago
ray-x d024335c91 update client loading 2 years ago
ray-x 41593cb7e4 remove json from auto highlight autocmd 2 years ago
ray-x 429cd16292 remove json from highlight autocmd 2 years ago
ray-x 2c7334e1b6 Merge branch 'master' into neovim_0.7 2 years ago