Fix #2832: filename modifiers replaced with empty strings
This commit is contained in:
parent
077b6f00d4
commit
50ff934ff2
5 changed files with 65 additions and 66 deletions
|
@ -159,7 +159,7 @@ directives. By default, this only recognizes C directives.")
|
|||
;; monkey patch `evil-ex-replace-special-filenames' to improve support for
|
||||
;; file modifiers like %:p:h. This adds support for most of vim's modifiers,
|
||||
;; and one custom one: %:P (expand to the project root).
|
||||
(advice-add #'evil-ex-replace-special-filenames :override #'+evil-resolve-vim-path-a)
|
||||
(advice-add #'evil-ex-replace-special-filenames :override #'+evil-replace-filename-modifiers-a)
|
||||
|
||||
;; make `try-expand-dabbrev' (from `hippie-expand') work in minibuffer
|
||||
(add-hook 'minibuffer-inactive-mode-hook #'+evil--fix-dabbrev-in-minibuffer-h)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue