From 77f2d661b61293fb6add39a9c81ac4cabcbb5244 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Sat, 29 Mar 2025 14:13:28 +0100 Subject: [PATCH] feat: proper cc search directories to jump to c/header --- init.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 3eba638..9db2f64 100644 --- a/init.el +++ b/init.el @@ -1081,6 +1081,8 @@ ;; Programming (my-use-package gendoxy :ensure (gendoxy :type git :host gitlab :repo "mp81ss_repo/gendoxy") + :custom + (cc-search-directories '("." "../src" "../include" "/usr/include" "/usr/local/include/*")) :general ;; TODO: figure out how to merge these into one call (my-local-leader c-ts-mode-map @@ -1090,7 +1092,8 @@ "d g" '(gendoxy-group :wk "Gendoxy group") "d G" '(gendoxy-group-header :wk "Gendoxy group header") "d s" '(gendoxy-group-start :wk "Gendoxy group start") - "d e" '(gendoxy-group-end :wk "Gendoxy group end")) + "d e" '(gendoxy-group-end :wk "Gendoxy group end") + "o" '(ff-find-related-file :wk "Find other file")) (my-local-leader c-mode-map "d h" '(gendoxy-tag :wk "Gendoxy header") "d t" '(gendoxy-tag :wk "Gendoxy tag") @@ -1098,7 +1101,8 @@ "d g" '(gendoxy-group :wk "Gendoxy group") "d G" '(gendoxy-group-header :wk "Gendoxy group header") "d s" '(gendoxy-group-start :wk "Gendoxy group start") - "d e" '(gendoxy-group-end :wk "Gendoxy group end"))) + "d e" '(gendoxy-group-end :wk "Gendoxy group end") + "o" '(ff-find-related-file :wk "Find other file"))) (my-use-package jsonrpc :ensure t) -- 2.48.1