feat(ocaml): set formatter for dune-mode
Close: #8019 Co-authored-by: i-am-linja <i-am-linja@users.noreply.github.com>
This commit is contained in:
parent
0c1c37ad87
commit
9dfd7ebc78
1 changed files with 7 additions and 0 deletions
|
@ -134,3 +134,10 @@
|
|||
|
||||
(when (modulep! +tree-sitter)
|
||||
(add-hook 'tuareg-mode-local-vars-hook #'tree-sitter!))
|
||||
|
||||
|
||||
(use-package! dune
|
||||
:defer t
|
||||
:config
|
||||
(set-formatter! 'format-dune-file '("dune" "format-dune-file")
|
||||
:modes '(dune-mode)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue