diff options
| author | glepnir <glephunter@gmail.com> | 2025-01-02 14:20:47 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-02 14:20:47 +0800 |
| commit | 709e3e87441204315fe0384a5a3c72f1a520d82c (patch) | |
| tree | 8cb4eabe12d23af5b7c2c271e8dc7f9c37624c4e /lua/lspconfig | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-709e3e87441204315fe0384a5a3c72f1a520d82c.tar nvim-lspconfig-709e3e87441204315fe0384a5a3c72f1a520d82c.tar.gz nvim-lspconfig-709e3e87441204315fe0384a5a3c72f1a520d82c.tar.bz2 nvim-lspconfig-709e3e87441204315fe0384a5a3c72f1a520d82c.tar.lz nvim-lspconfig-709e3e87441204315fe0384a5a3c72f1a520d82c.tar.xz nvim-lspconfig-709e3e87441204315fe0384a5a3c72f1a520d82c.tar.zst nvim-lspconfig-709e3e87441204315fe0384a5a3c72f1a520d82c.zip | |
fix(ccls): typo on request method (#3536)
Problem: method prefix is textDocument
Solution: make d to upper
Diffstat (limited to 'lua/lspconfig')
| -rw-r--r-- | lua/lspconfig/configs/ccls.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/configs/ccls.lua b/lua/lspconfig/configs/ccls.lua index 1f0e937d..9583fcb0 100644 --- a/lua/lspconfig/configs/ccls.lua +++ b/lua/lspconfig/configs/ccls.lua @@ -7,7 +7,7 @@ local function switch_source_header(bufnr) vim.notify('method textdocument/switchsourceheader is not supported by any servers active on the current buffer') end local params = vim.lsp.util.make_text_document_params(bufnr) - client.request('textdocument/switchsourceheader', params, function(err, result) + client.request('textDocument/switchsourceheader', params, function(err, result) if err then error(tostring(err)) end |
