feature: add go to definition helper
This commit is contained in:
parent
24cede144a
commit
d4f6dd2612
1 changed files with 5 additions and 0 deletions
|
|
@ -158,6 +158,11 @@ function M.compile_sass()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function M.go_to_definition()
|
||||||
|
vim.cmd("vsplit")
|
||||||
|
vim.lsp.buf.definition()
|
||||||
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
|
||||||
-- vim: ts=4 sts=4 sw=4 expandtab
|
-- vim: ts=4 sts=4 sw=4 expandtab
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue