Skip to content

Commit

Permalink
change python format tool.
Browse files Browse the repository at this point in the history
  • Loading branch information
lampze committed May 22, 2024
1 parent 882a08d commit 2683353
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config.el
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@
lsp-volar-take-over-mode nil
)

(setq-hook! 'python-mode-hook +format-with 'ruff)

(let ((pos (assoc 'dvisvgm org-latex-preview-process-alist)))
(plist-put (cdr pos) :image-converter '("dvisvgm --page=1- --optimize --clipjoin --relative --no-fonts --bbox=preview -o %B-%%9p.svg %f")))

Expand Down

0 comments on commit 2683353

Please sign in to comment.