瀏覽代碼

It breaks python-mode

master
10sr 5 年之前
父節點
當前提交
5faf2c93d6
簽署人: 10sr GPG 金鑰 ID: 7BEC428194130EB2
共有 1 個檔案被更改,包括 5 行新增5 行删除
  1. +5
    -5
      emacs.el

+ 5
- 5
emacs.el 查看文件

@@ -1138,11 +1138,11 @@ found, otherwise returns nil."
(define-key python-mode-map (kbd "C-m") 'newline-and-indent))

(when (autoload-eval-lazily 'pipenv)
(declare-function pipenv-projectile-after-switch-default "pipenv")
(add-hook 'python-mode-hook
(lambda ()
(pipenv-mode 1)
(pipenv-projectile-after-switch-default)))
;; (declare-function pipenv-projectile-after-switch-default "pipenv")
;; (add-hook 'python-mode-hook
;; (lambda ()
;; (pipenv-mode 1)
;; (pipenv-projectile-after-switch-default)))
)
(set-variable 'flycheck-python-pycompile-executable "python3")
(set-variable 'python-indent-guess-indent-offset nil)


Loading…
取消
儲存