We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc6d3a6 commit 82efcfcCopy full SHA for 82efcfc
1 file changed
gptel-cpp-complete.el
@@ -87,6 +87,12 @@
87
;; ------------------------------------------------------------
88
;; Helpers
89
90
+(defun gptel-cpp-complete--get-treesit-extra-load-path ()
91
+ "Get `treesiter' extra load path."
92
+ (list (expand-file-name
93
+ "./treesit-grammars/" (file-name-directory
94
+ (or load-file-name (buffer-file-name))))))
95
+
96
(defmacro gptel-cpp-complete--with-which-function-mode (&rest body)
97
"Execute BODY with `which-function-mode' enabled, then restore original state."
98
`(let ((enabled (bound-and-true-p which-function-mode)))
0 commit comments