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`.