Skip to content

Commit 5f4e8ba

Browse files
committed
switch to company, minimal setup
1 parent c3f6f0c commit 5f4e8ba

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

init.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
larsen-flycheck
3434
larsen-spell
3535
larsen-markdown
36-
larsen-smarttab
36+
larsen-company
3737
larsen-tramp
3838
larsen-helm
3939
larsen-ibuffer

lisp/larsen-company.el

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
(use-package company
2+
:config
3+
(global-company-mode))
4+
5+
(defun my/python-mode-hook ()
6+
(add-to-list 'company-backends 'company-jedi))
7+
8+
(add-hook 'python-mode-hook 'my/python-mode-hook)
9+
10+
(provide 'larsen-company)

0 commit comments

Comments
 (0)