Repository: autozimu/LanguageClient-neovim (language: rust)

Issue:
Remove  LanguageClient_cquery_derived
cquery removed support for this some time ago - https://github.com/cquery-project/cquery/commit/7d4b7e2e5280bffb3c9683d83283b2c3785341fc.

(People can use textDocument/implementation instead).


Discussion / hints:
Could you submit a PR?

Fix patch:
diff --git a/autoload/LanguageClient.vim b/autoload/LanguageClient.vim
index 7f8b394c..d41ed077 100644
--- a/autoload/LanguageClient.vim
+++ b/autoload/LanguageClient.vim
@@ -1025,14 +1025,6 @@ function! LanguageClient#cquery_base(...) abort
     return call('LanguageClient#findLocations', [l:params] + a:000[1:])
 endfunction
 
-function! LanguageClient#cquery_derived(...) abort
-    let l:params = {
-                \ 'method': '$cquery/derived',
-                \ }
-    call extend(l:params, get(a:000, 0, {}))
-    return call('LanguageClient#findLocations', [l:params] + a:000[1:])
-endfunction
-
 function! LanguageClient#cquery_callers(...) abort
     let l:params = {
                 \ 'method': '$cquery/callers',
diff --git a/doc/LanguageClient.txt b/doc/LanguageClient.txt
index 6e6ae395..e19291ea 100644
--- a/doc/LanguageClient.txt
+++ b/doc/LanguageClient.txt
@@ -286,7 +286,7 @@ Valid options: 1 | 0
 2.21 g:LanguageClient_completionPreferTextEdit
 *g:LanguageClient_completionPreferTextEdit*
 
-(Experimental) Should prefer use textEdit it is present in 
+(Experimental) Should prefer use textEdit it is present in
 CompletionItem.
 
 Note: textEdit support requires vim >= v8.0.1493, or vim >= v8.1.0039, or
@@ -527,12 +527,6 @@ Signature: LanguageClient#cquery_base(...)
 
 Call $cquery/base.
 
-*LanguageClient#cquery_derived*
-*LanguageClient_cquery_derived*
-Signature: LanguageClient#cquery_derived(...)
-
-Call $cquery/derived.
-
 *LanguageClient#cquery_callers*
 *LanguageClient_cquery_callers*
 Signature: LanguageClient#cquery_callers(...)
diff --git a/plugin/LanguageClient.vim b/plugin/LanguageClient.vim
index 821ddd02..7b2fe104 100644
--- a/plugin/LanguageClient.vim
+++ b/plugin/LanguageClient.vim
@@ -98,10 +98,6 @@ function! LanguageClient_cquery_base(...)
     return call('LanguageClient#cquery_base', a:000)
 endfunction
 
-function! LanguageClient_cquery_derived(...)
-    return call('LanguageClient#cquery_derived', a:000)
-endfunction
-
 function! LanguageClient_cquery_vars(...)
     return call('LanguageClient#cquery_vars', a:000)
 endfunction


Test patch: