Skip to content

Commit cdf6a80

Browse files
authored
Since so files are download in default dir, so update accordinly.
1 parent 4c7e794 commit cdf6a80

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

gptel-cpp-complete.el

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@
9494
;; Helpers
9595
;; ------------------------------------------------------------
9696
(defun gptel-cpp-complete--get-treesit-extra-load-path ()
97-
"Get `treesiter' extra load path."
98-
(list (expand-file-name
99-
"./treesit-grammars/" (file-name-directory
100-
(or load-file-name (buffer-file-name))))))
97+
"Get `treesiter' extra load path."
98+
(list (expand-file-name
99+
"./" (file-name-directory
100+
(or load-file-name (buffer-file-name))))))
101101

102102
(defmacro gptel-cpp-complete--with-which-function-mode (&rest body)
103103
"Execute BODY with `which-function-mode' enabled, then restore original state."

0 commit comments

Comments
 (0)