Browse Source

Add some stuff related to python mode

master
Taylor Bockman 5 years ago
parent
commit
755dd044e6
  1. 3
      .gitignore
  2. 5
      dotfiles/emacs.d/init.el
  3. 1
      dotfiles/emacs.d/package.el

3
.gitignore vendored

@ -31,6 +31,9 @@ helm-adaptive-history
*/emacs.d/irony/* */emacs.d/irony/*
/dotfiles/.emacs.d/transient/history.el
/dotfiles/.emacs.d/session.*
# nvim specific # nvim specific
plugged plugged
bundle/** bundle/**

5
dotfiles/emacs.d/init.el

@ -176,6 +176,11 @@
(add-hook 'python-mode-hook 'jedi:setup) (add-hook 'python-mode-hook 'jedi:setup)
(setq jedi:complete-on-dot t) (setq jedi:complete-on-dot t)
(defun my/python-mode-hook ()
(add-to-list 'company-backends 'company-jedi))
(add-hook 'python-mode-hook 'my/python-mode-hook)
;;-------------------------------------------------------------------------------------- ;;--------------------------------------------------------------------------------------
;; Ensure Shell Variables Look the Same in Emacs (OS X and Linux) ;; Ensure Shell Variables Look the Same in Emacs (OS X and Linux)
;;-------------------------------------------------------------------------------------- ;;--------------------------------------------------------------------------------------

1
dotfiles/emacs.d/package.el

@ -5,6 +5,7 @@
company company
company-irony company-irony
company-emacs-eclim company-emacs-eclim
jedi-core
;; We don't need the `jedi` package ;; We don't need the `jedi` package
;; since we are using company. If we ;; since we are using company. If we

Loading…
Cancel
Save