Saving and loading the *rg* buffer works for me as the saved file's first line is -*- mode: rg; default-directory: "/path/to/dir/" -*- to enable rg-mode on load. How are you saving the buffer?
*rg*
-*- mode: rg; default-directory: "/path/to/dir/" -*-
rg-mode
Saving and loading the
*rg*
buffer works for me as the saved file's first line is-*- mode: rg; default-directory: "/path/to/dir/" -*-
to enablerg-mode
on load. How are you saving the buffer?