From 0c71fe0e1e925984ae3bdeb693f4dd73132824cd Mon Sep 17 00:00:00 2001 From: rhcher Date: Sat, 18 Dec 2021 19:03:57 +0800 Subject: [PATCH] Updated LSP Extensions (markdown) --- LSP-Extensions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LSP-Extensions.md b/LSP-Extensions.md index 63ea3be..490e4c3 100644 --- a/LSP-Extensions.md +++ b/LSP-Extensions.md @@ -2,7 +2,7 @@ Aside from definitions/references/workspace symbol, ccls provides some LSP extensions that find base/derived classes/methods, vars of a type, callers of a function. -### [`$ccls/vars`](https://github.com/MaskRay/ccls/blob/master/src/messages/ccls_call.cc) +### [`$ccls/vars`](https://github.com/MaskRay/ccls/blob/master/src/messages/ccls_vars.cc) It can be seen as a specialized `textDocument/references`. It finds all variables when the cursor is at a type of a variable (the type of the variable will be used). Whether local variables/parameters/struct members are returned can be specified with `kind`.