diff options
| author | 2025-04-10 16:30:05 -0700 | |
|---|---|---|
| committer | 2025-04-10 16:30:05 -0700 | |
| commit | 4e6a70de56f108cd783fe0ef40db238b95348cab (patch) | |
| tree | 8375db5fe8149c8b60007f9680ba375b42f1447c /oni | |
| parent | 16c12362dd0b79b2f0506d4bddb8b8fa9a7b7586 (diff) | |
| download | new-dotfiles-4e6a70de56f108cd783fe0ef40db238b95348cab.tar.gz new-dotfiles-4e6a70de56f108cd783fe0ef40db238b95348cab.zip | |
emacs/pop-os: Fix path fixup for phpstan
This fixes the situation where ‘/app/’ shows up more than once in the path, I'm
only interested in replacing the first occurrence.
Diffstat (limited to 'oni')
| -rw-r--r-- | oni/home/config/pop-os/emacs.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oni/home/config/pop-os/emacs.el b/oni/home/config/pop-os/emacs.el index 97390f4..b29a3c8 100644 --- a/oni/home/config/pop-os/emacs.el +++ b/oni/home/config/pop-os/emacs.el @@ -202,7 +202,7 @@ buffers.") (lambda (e) (setf (flycheck-error-filename e) (expand-file-name - (string-replace "/app/" "" (flycheck-error-filename e)) + (replace-regexp-in-string (rx string-start "/app/") "" (flycheck-error-filename e)) (project-root (project-current)))) e) errors)) |
