Clean up
This commit is contained in:
parent
0f12885152
commit
71dd98e7d4
3 changed files with 13 additions and 17 deletions
|
@ -1,12 +1,11 @@
|
|||
(use-package eclim
|
||||
:commands (eclim-mode global-eclim-mode)
|
||||
:init
|
||||
:config
|
||||
(progn
|
||||
(setq eclim-eclipse-dirs '("/Applications/eclipse")
|
||||
eclim-executable "/Applications/eclipse/eclim")
|
||||
(add-hook 'java-mode-hook 'eclim-mode))
|
||||
:config
|
||||
(progn
|
||||
(add-hook 'java-mode-hook 'eclim-mode)
|
||||
|
||||
;; (use-package eclim-ant)
|
||||
;; (use-package eclim-maven)
|
||||
(use-package eclim-problems)
|
||||
|
|
|
@ -60,10 +60,6 @@
|
|||
(not (use-region-p))
|
||||
(not (sp-point-in-string-or-comment))))))
|
||||
|
||||
(after "auto-complete"
|
||||
(use-package ac-anaconda
|
||||
:init (add-hook 'python-mode-hook 'ac-anaconda-setup)))
|
||||
|
||||
(after "company"
|
||||
(use-package company-anaconda
|
||||
:config (company--backend-on 'python-mode-hook 'company-anaconda)))))
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
(use-package yasnippet
|
||||
:mode (("emacs\\.d/snippets/.+$" . snippet-mode))
|
||||
:init
|
||||
(progn
|
||||
(defvar yas-minor-mode-map
|
||||
;; Fix yasnippet keymaps so they only work in insert mode
|
||||
(let ((map (make-sparse-keymap)))
|
||||
|
@ -8,15 +9,15 @@
|
|||
(bind 'insert map (kbd "TAB") 'yas-expand)
|
||||
(bind 'visual map (kbd "<backtab>") 'yas-insert-snippet)
|
||||
map))
|
||||
:config
|
||||
(progn
|
||||
|
||||
(add-hook 'snippet-mode-hook 'disable-final-newline)
|
||||
(add-hook 'snippet-mode-hook 'yas-minor-mode)
|
||||
(add-hook 'text-mode-hook 'yas-minor-mode)
|
||||
(add-hook 'prog-mode-hook 'yas-minor-mode)
|
||||
;; (add-hook 'markdown-mode-hook 'yas-minor-mode)
|
||||
(add-hook 'org-mode-hook 'yas-minor-mode)
|
||||
|
||||
(add-hook 'org-mode-hook 'yas-minor-mode))
|
||||
:config
|
||||
(progn
|
||||
(setq yas-verbosity 0)
|
||||
(setq yas-indent-line 'auto)
|
||||
(setq yas-also-auto-indent-first-line t)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue