Fork me on GitHub

@drewverlee which one was it?


I just figured out something super helpful for me! We most of us know how to set our fonts.

dotspacemacs-default-font '("FiraCode Nerd Font"
                                :size 24.0
                                :weight normal
                                :width normal)
What bothered me was that this would not affect Japanese text, or any other unicode text for that matter. This is what I had to do to make it work:
(defun dotspacemacs/user-config ()
  ;; Font for all unicode chars
  (when (member "HackGen35Nerd" (font-family-list))
    (set-fontset-font t 'unicode "HackGen35Nerd Console" nil 'prepend))


In spacemacs/helm-project-smart-do-search (i.e. SPC /) is there a way to narrow the search to files matching pattern/glob e.g. *.cljs files only (when using rg)? When using ag as the underlying grep-like binary you can pass a param e.g. -Gcljs for example so you can do a search like layout -Gcljs and get desired results back, can’t seem to find a way to do it with rg under spacemacs/helm-project-smart-do-search any ideas? 😉


Or maybe is there a better way to perform this kind of project search?


Yes! Thanks so much 🎉 I’ve tried the long version --glob and that didn’t seem to work, but -g does 🤷 😉


Also, interesting, the “globbing” behaviour is different between ag and rg here, e.g. w/ rg you need to be explicit: -Gcljs (for ag) vs. -g*cljs (for rg)