From 709e3e87441204315fe0384a5a3c72f1a520d82c Mon Sep 17 00:00:00 2001 From: glepnir Date: Thu, 2 Jan 2025 14:20:47 +0800 Subject: fix(ccls): typo on request method (#3536) Problem: method prefix is textDocument Solution: make d to upper --- lua/lspconfig/configs/ccls.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') 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 -- cgit v1.2.3-70-g09d2