To make dumb-jump case-insensitive

I am reading a mixed-case fortran source-code. In my environment, dumb-jump can not jump from uppercase subroutine call to the lower case definition (and vise-versa). In dumb-jump, the word currently being looked for (e.g. the word on which dumb-jump-go is invoked) is stored in the look-for variable in the dumb-jump-fetch-results function.

To enable the mixed case dumb-jump-go, to ignore case, I did two things.

(1) Modify the following line from

         (look-for (dumb-jump-process-symbol-by-lang lang found-symbol))


         (look-for (downcase (dumb-jump-process-symbol-by-lang lang found-symbol)))

(2) Add an rg option --ignore-care by dumb-jump-rg-search-args,

(use-package dumb-jump
  :ensure t
  (setq dumb-jump-force-searcher 'rg)
  (setq dumb-jump-rg-search-args "--ignore-case --pcre2")
  (setq dumb-jump-selector 'ivy)
  (add-hook 'xref-backend-functions #'dumb-jump-xref-activate)