File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -1770,7 +1770,7 @@ a symbol then it's probably a function call"
17701770 (string :tag " Regular expression" )))))))
17711771
17721772(defcustom dumb-jump-project-denoters
1773- '(" .dumbjump" " .projectile" " .git" " .hg" " .fslckout" " .bzr" " _darcs" " .svn" " Makefile" " PkgInfo" " -pkg.el" )
1773+ '(" .dumbjump" " .projectile" " .git" " .hg" " .fslckout" " .bzr" " _darcs" " .svn" " Makefile" " PkgInfo" " -pkg.el" " _ham_project " " TARGETS " )
17741774 " Files and directories that signify a directory is a project root."
17751775 :group 'dumb-jump
17761776 :type '(repeat (string :tag " Name" )))
@@ -2088,13 +2088,7 @@ for user to select. Filters PROJ path from files for display."
20882088
20892089(defun dumb-jump-get-project-root (filepath )
20902090 " Keep looking at the parent dir of FILEPATH until a denoter file/dir is found."
2091- (s-chop-suffix
2092- " /"
2093- (expand-file-name
2094- (or
2095- dumb-jump-project
2096- (locate-dominating-file filepath #'dumb-jump-get-config )
2097- dumb-jump-default-project))))
2091+ (ni-find-search-directory filepath))
20982092
20992093(defun dumb-jump-get-config (dir )
21002094 " If a project denoter is in DIR then return it, otherwise
You can’t perform that action at this time.
0 commit comments