Change from 'edit' to 'drop' when switching from header/source in clang
This commit is contained in:
parent
822d397635
commit
2b1009e9f3
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ local function switch_source_header(bufnr)
|
||||||
print "Corresponding file cannot be determined"
|
print "Corresponding file cannot be determined"
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
vim.api.nvim_command("edit " .. vim.uri_to_fname(result))
|
vim.api.nvim_command("drop " .. vim.uri_to_fname(result))
|
||||||
end, bufnr)
|
end, bufnr)
|
||||||
else
|
else
|
||||||
print "method textDocument/switchSourceHeader is not supported by any servers active on the current buffer"
|
print "method textDocument/switchSourceHeader is not supported by any servers active on the current buffer"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue