Minor refactors & reformatting across the board

This commit is contained in:
Henrik Lissner 2019-11-15 22:16:09 -05:00
parent bd4755123f
commit 449ddb986c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 7 additions and 7 deletions

View file

@ -80,9 +80,10 @@ more information on modifiers."
(when (and (not (string= path "")) (equal (substring path -1) "/"))
(setq path (substring path 0 -1))))
(setq file-name
(replace-regexp-in-string (format "\\(?:^\\|[^\\\\]\\)\\(%s\\)"
(regexp-quote (string-trim-left (car match))))
path file-name t t 1))))
(replace-regexp-in-string
(format "\\(?:^\\|[^\\\\]\\)\\(%s\\)"
(regexp-quote (string-trim-left (car match))))
path file-name t t 1))))
(replace-regexp-in-string regexp "\\1" file-name t)))
(defun +evil--insert-newline (&optional above _noextranewline)