Skip to content

Commit 8ad1ad8

Browse files
committed
Update explainErrorAtPoint method name.
1 parent 082e884 commit 8ad1ad8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

autoload/LanguageClient.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ function! LanguageClient#explainErrorAtPoint(...) abort
892892
\ 'handle': s:IsFalse(l:Callback),
893893
\ }
894894
call extend(l:params, get(a:000, 0, {}))
895-
return LanguageClient#Call('$languageClient/explainErrorAtPoint', l:params, l:Callback)
895+
return LanguageClient#Call('languageClient/explainErrorAtPoint', l:params, l:Callback)
896896
endfunction
897897

898898
let g:LanguageClient_omniCompleteResults = []

src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub const REQUEST__SetLoggingLevel: &str = "languageClient/setLoggingLevel";
1818
pub const REQUEST__RegisterHandlers: &str = "languageClient/registerHandlers";
1919
pub const REQUEST__NCMRefresh: &str = "LanguageClient_NCMRefresh";
2020
pub const REQUEST__NCM2OnComplete: &str = "LanguageClient_NCM2OnComplete";
21-
pub const REQUEST__ExplainErrorAtPoint: &str = "$languageClient/explainErrorAtPoint";
21+
pub const REQUEST__ExplainErrorAtPoint: &str = "languageClient/explainErrorAtPoint";
2222
pub const REQUEST__FindLocations: &str = "languageClient/findLocations";
2323
pub const NOTIFICATION__HandleBufNewFile: &str = "languageClient/handleBufNewFile";
2424
pub const NOTIFICATION__HandleBufReadPost: &str = "languageClient/handleBufReadPost";

0 commit comments

Comments
 (0)