Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds python and js beautifier configs
- Loading branch information
1 parent
a3bc06a
commit e239324
Showing
2 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
;;; init-python.el --- Configures python | ||
;; | ||
;;; Commentary: | ||
;; Configures python colors | ||
;; Configures python | ||
|
||
;;; Code: | ||
(require 'python) | ||
(require 'jedi) | ||
(require 'py-isort) | ||
(require 'py-yapf) | ||
|
||
(add-hook 'python-mode-hook 'jedi:setup) | ||
(setq py-isort-options '("--settings-path=/Users/pilou/dev/sketchfab/showwebgl/.isort.cfg")) | ||
(setq py-yapf-options '("--style=/Users/pilou/dev/sketchfab/showwebgl/.style.yapf")) | ||
|
||
(provide 'init-python) | ||
;;; init-python.el ends here |