|
|
|
@ -134,8 +134,6 @@ |
|
|
|
|
|
|
|
;; -------------------------------------- |
|
|
|
|
|
|
|
;; (setq inhibit-startup-message t) ;; hide the startup message |
|
|
|
;; (load-theme 'material t) ;; load material theme |
|
|
|
(load-theme 'dracula t) |
|
|
|
(global-linum-mode t) ;; enable line numbers globally |
|
|
|
|
|
|
|
@ -157,10 +155,6 @@ |
|
|
|
(local-set-key (kbd "C-c C-p") 'py-autopep8)) |
|
|
|
(add-hook 'python-mode-hook 'python-mode-keys) |
|
|
|
(add-hook 'elpy-mode-hook 'py-autopep8-enable-on-save) |
|
|
|
;;(setq python-flymake-command "\"c:/Program Files/Python37/Scripts/flake8.exe\"") |
|
|
|
|
|
|
|
;;(setq python-check-command "\"c:/Program Files/Python37/Scripts/flake8.exe\"") |
|
|
|
;; (setq elpy-rpc-python-command "\"c:/Program Files/Python37/pythonw.exe\" ") |
|
|
|
(setq elpy-syntax-check-command python-check-command) |
|
|
|
;; init.el ends here |
|
|
|
(custom-set-variables |
|
|
|
@ -180,13 +174,3 @@ |
|
|
|
;; Your init file should contain only one such instance. |
|
|
|
;; If there is more than one, they won't work right. |
|
|
|
'(default ((t (:family "Roboto Mono" :foundry "outline" :slant normal :weight normal :height 113 :width normal))))) |
|
|
|
;; Monkey patch |
|
|
|
;;(defun quote-exe (path) |
|
|
|
;; (if (string-match-p (regexp-quote " ") path) |
|
|
|
;; (shell-quote-argument path) |
|
|
|
;; path)) |
|
|
|
;;(defun quote-exe (path) |
|
|
|
;; (replace-regexp-in-string " " "\\ " path) |
|
|
|
|
|
|
|
;; |
|
|
|
;;(advice-add 'executable-find :filter-return #'quote-exe) |