We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This snippet may be useful for users of clangd
-- in lsp-ext.lua M = {} M.switch_header_source = function() vim.lsp.buf_request( 0, "textDocument/switchSourceHeader", vim.lsp.util.make_text_document_params(), function(err, _, result, _, _) if err then print(err) else vim.cmd('e '..vim.uri_to_fname(result)) end end ) end return M
-- in your lua config vim.cmd [[ command! SwitchHeaderSource lua require "lsp-ext".switch_header_source() ]]
Is something like this in the scope of nvim-lsp? Maybe we could put this in the documentation in the README.
The text was updated successfully, but these errors were encountered:
Ooops: someone was faster: #263
Sorry, something went wrong.
No branches or pull requests
This snippet may be useful for users of clangd
Is something like this in the scope of nvim-lsp? Maybe we could put this in the documentation in the README.
The text was updated successfully, but these errors were encountered: