Browse Source

Add some stuff related to python mode

Taylor Bockman 5 years ago
parent
commit
3dbfd145df
  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/*
/dotfiles/.emacs.d/transient/history.el
/dotfiles/.emacs.d/session.*
# nvim specific
plugged
bundle/**

5
dotfiles/emacs.d/init.el

@ -176,6 +176,11 @@
(add-hook 'python-mode-hook 'jedi:setup)
(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)
;;--------------------------------------------------------------------------------------

1
dotfiles/emacs.d/package.el

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

Loading…
Cancel
Save