feat(format): add :lang nim formatter
This commit is contained in:
parent
856d365f2f
commit
5cbc7a0258
2 changed files with 6 additions and 1 deletions
|
@ -12,6 +12,8 @@ nimsuggest isn't installed."
|
|||
(when (and nimsuggest-path (file-executable-p nimsuggest-path))
|
||||
(nimsuggest-mode))))
|
||||
|
||||
(set-formatter! 'nmfmt '("nimfmt" filepath) :modes '(nim-mode))
|
||||
|
||||
(when IS-WINDOWS
|
||||
;; TODO File PR/report upstream (https://github.com/nim-lang/nim-mode)
|
||||
(defadvice! +nim--suggest-get-temp-file-name-a (path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue