Added formatter configs
This commit is contained in:
parent
d6d1936973
commit
9419901702
@ -240,16 +240,20 @@
|
|||||||
:cpp [ (module-fn! :formatter.filetypes.cpp :astyle) ]
|
:cpp [ (module-fn! :formatter.filetypes.cpp :astyle) ]
|
||||||
:cmake [
|
:cmake [
|
||||||
(module-fn! :formatter.filetypes.cmake :cmakeformat) ]
|
(module-fn! :formatter.filetypes.cmake :cmakeformat) ]
|
||||||
:java [
|
:java [ (fn [] {:exe :astyle
|
||||||
(fn [] {:exe :astyle
|
|
||||||
:stdin true
|
:stdin true
|
||||||
:args [ :--mode=java ]}) ]
|
:args [ :--mode=java ]}) ]
|
||||||
:sh [
|
:sh [ (module-fn! :formatter.filetypes.sh :shfmt) ]
|
||||||
(module-fn! :formatter.filetypes.sh :shfmt) ]
|
:rust [ (module-fn! :formatter.filetypes.rust :rustfmt) ]
|
||||||
:rust [
|
:tex [ (module-fn! :formatter.filetypes.latex :latexindent) ]
|
||||||
(module-fn! :formatter.filetypes.rust :rustfmt) ]
|
:python [ (module-fn! :formatter.filetypes.python :yapf) ]
|
||||||
:fennel [
|
:json [ (module-fn! :formatter.filetypes.json :prettier) ]
|
||||||
(fn [] {:exe :fnlfmt
|
:html [ (module-fn! :formatter.filetypes.html :prettier) ]
|
||||||
|
:css [ (module-fn! :formatter.filetypes.css :prettier) ]
|
||||||
|
:javascript [ (module-fn! :formatter.filetypes.javascript :prettier) ]
|
||||||
|
:markdown [
|
||||||
|
(module-fn! :formatter.filetypes.markdown :prettier ) ]
|
||||||
|
:fennel [ (fn [] {:exe :fnlfmt
|
||||||
:stdin true
|
:stdin true
|
||||||
:args [ "-" ]}) ]}))
|
:args [ "-" ]}) ]}))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user