diff options
| author | Peter Lithammer <peter.lithammer@gmail.com> | 2021-06-09 21:43:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-09 21:43:57 +0200 |
| commit | 5ef390d90fbd5f311a967ce708550bab30b79baf (patch) | |
| tree | 8b203c1b20a23e44862ebe41cee1951bac1da39a /lua | |
| parent | Merge pull request #961 from pwntester/fix_codeql_root_uri (diff) | |
| parent | clangd: "can’t" -> "cannot" in switchSourceHeader failure message (diff) | |
| download | nvim-lspconfig-5ef390d90fbd5f311a967ce708550bab30b79baf.tar nvim-lspconfig-5ef390d90fbd5f311a967ce708550bab30b79baf.tar.gz nvim-lspconfig-5ef390d90fbd5f311a967ce708550bab30b79baf.tar.bz2 nvim-lspconfig-5ef390d90fbd5f311a967ce708550bab30b79baf.tar.lz nvim-lspconfig-5ef390d90fbd5f311a967ce708550bab30b79baf.tar.xz nvim-lspconfig-5ef390d90fbd5f311a967ce708550bab30b79baf.tar.zst nvim-lspconfig-5ef390d90fbd5f311a967ce708550bab30b79baf.zip | |
Merge pull request #962 from bch29/master
clangd: "can’t" -> "cannot" in switchSourceHeader failure message
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/clangd.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/clangd.lua b/lua/lspconfig/clangd.lua index 6195e206..4d769e13 100644 --- a/lua/lspconfig/clangd.lua +++ b/lua/lspconfig/clangd.lua @@ -7,7 +7,7 @@ local function switch_source_header(bufnr) local params = { uri = vim.uri_from_bufnr(bufnr) } vim.lsp.buf_request(bufnr, 'textDocument/switchSourceHeader', params, function(err, _, result) if err then error(tostring(err)) end - if not result then print ("Corresponding file can’t be determined") return end + if not result then print ("Corresponding file cannot be determined") return end vim.api.nvim_command('edit '..vim.uri_to_fname(result)) end) end |
