Commit 2b2d5a27 authored by Fangrui Song's avatar Fangrui Song

Add ccls-navigate

parent 57bc7fd3
......@@ -165,6 +165,11 @@ root location or `nil' if subsequent matchers should be used instead.
(list :whitelist (or whitelist [])
:blacklist (or blacklist [])))))
(defun ccls-navigate (direction)
"Navigate to a nearby outline symbol.
DIRECTION can be \"D\", \"L\", \"R\" or \"U\"."
(lsp-find-custom "$ccls/navigate" `(:direction ,direction)))
;; ---------------------------------------------------------------------
;; Register lsp client
;; ---------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment