Commit 122f4f7d authored by Fangrui Song's avatar Fangrui Song

Add cquery-file-info

parent e3ce2127
......@@ -75,6 +75,12 @@ Relative to the project root directory."
;; Other cquery-specific methods
;; ---------------------------------------------------------------------
(defun cquery-file-info ()
(lsp--cur-workspace-check)
(lsp--send-request
(lsp--make-request "$cquery/fileInfo"
`(:textDocument ,(lsp--text-document-identifier)))))
(defun cquery-freshen-index (&optional whitelist blacklist)
"Rebuild indexes for matched files.
`whitelist' and `blacklist' are ECMAScript regex used by std::regex_match
......
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