浏览代码

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)


正在加载...
取消
保存