Config: add hs-minor-mode support
This commit is contained in:
@@ -97,6 +97,14 @@
|
||||
;; 移动到垃圾桶
|
||||
(setq delete-by-moving-to-trash t)
|
||||
|
||||
;; 让xref用rg
|
||||
(setq xref-search-program
|
||||
(cond
|
||||
((or (executable-find "ripgrep")
|
||||
(executable-find "rg"))
|
||||
'ripgrep)
|
||||
(t 'grep)))
|
||||
|
||||
(provide 'init-startup)
|
||||
|
||||
;;; init-startup.el ends here
|
||||
|
||||
Reference in New Issue
Block a user