mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/nim: fix wrong-number-of-args error
Meant to use advice-add, not advice-remove
This commit is contained in:
@ -29,7 +29,7 @@ characters that are illegal on Windows, causing invalid argument errors when
|
|||||||
character that colon is replaced with, which is known to cause issues on
|
character that colon is replaced with, which is known to cause issues on
|
||||||
windows."
|
windows."
|
||||||
(replace-regexp-in-string "[꞉* |<>\"?*]" "" path))
|
(replace-regexp-in-string "[꞉* |<>\"?*]" "" path))
|
||||||
(advice-remove #'nimsuggest--get-temp-file-name :filter-return #'doom*nimsuggest--get-temp-file-name))
|
(advice-add #'nimsuggest--get-temp-file-name :filter-return #'doom*nimsuggest--get-temp-file-name))
|
||||||
|
|
||||||
(map! :map nim-mode-map
|
(map! :map nim-mode-map
|
||||||
:localleader
|
:localleader
|
||||||
|
Reference in New Issue
Block a user