Clean up unnecessary eval-after-load's
This commit is contained in:
parent
d9e194da92
commit
fa897fc9d8
5 changed files with 11 additions and 19 deletions
|
@ -20,10 +20,9 @@
|
||||||
(setq help-at-pt-timer-delay 0.1)
|
(setq help-at-pt-timer-delay 0.1)
|
||||||
(help-at-pt-set-timer)
|
(help-at-pt-set-timer)
|
||||||
|
|
||||||
(after! company
|
(use-package company-emacs-eclim
|
||||||
(use-package company-emacs-eclim
|
:functions company-emacs-eclim-setup
|
||||||
:functions company-emacs-eclim-setup
|
:config (company-emacs-eclim-setup))
|
||||||
:config (company-emacs-eclim-setup)))
|
|
||||||
|
|
||||||
(map! :map java-mode-map :m "gd" 'eclim-java-find-declaration))
|
(map! :map java-mode-map :m "gd" 'eclim-java-find-declaration))
|
||||||
|
|
||||||
|
|
|
@ -88,9 +88,8 @@
|
||||||
:commands tern-mode
|
:commands tern-mode
|
||||||
:init (add-hook! js2-mode 'tern-mode)
|
:init (add-hook! js2-mode 'tern-mode)
|
||||||
:config
|
:config
|
||||||
(after! company
|
(require 'company-tern)
|
||||||
(require 'company-tern)
|
(define-company-backend! js2-mode (tern)))
|
||||||
(define-company-backend! js2-mode (tern))))
|
|
||||||
|
|
||||||
(use-package unityjs-mode
|
(use-package unityjs-mode
|
||||||
:mode "/Assets/.*\\.js$"
|
:mode "/Assets/.*\\.js$"
|
||||||
|
|
|
@ -64,9 +64,6 @@
|
||||||
:config
|
:config
|
||||||
(evil-set-initial-state 'php-boris-mode 'emacs))
|
(evil-set-initial-state 'php-boris-mode 'emacs))
|
||||||
|
|
||||||
;; Support for Facebook's version of PHP
|
|
||||||
(use-package hack-mode :mode "\\.hh$")
|
|
||||||
|
|
||||||
(define-minor-mode php-laravel-mode
|
(define-minor-mode php-laravel-mode
|
||||||
""
|
""
|
||||||
:init-value nil
|
:init-value nil
|
||||||
|
|
|
@ -51,9 +51,8 @@
|
||||||
|
|
||||||
(advice-add 'anaconda-mode-doc-buffer :after 'narf*anaconda-mode-doc-buffer)
|
(advice-add 'anaconda-mode-doc-buffer :after 'narf*anaconda-mode-doc-buffer)
|
||||||
|
|
||||||
(after! company
|
(require 'company-anaconda)
|
||||||
(require 'company-anaconda)
|
(define-company-backend! python-mode (anaconda))
|
||||||
(define-company-backend! python-mode (anaconda)))
|
|
||||||
(after! emr
|
(after! emr
|
||||||
(mapc (lambda (x)
|
(mapc (lambda (x)
|
||||||
(let ((command-name (car x))
|
(let ((command-name (car x))
|
||||||
|
|
|
@ -90,9 +90,8 @@
|
||||||
(define-repl! ruby-mode inf-ruby)
|
(define-repl! ruby-mode inf-ruby)
|
||||||
:config
|
:config
|
||||||
(evil-set-initial-state 'inf-ruby-mode 'emacs)
|
(evil-set-initial-state 'inf-ruby-mode 'emacs)
|
||||||
(after! company
|
(require 'company-inf-ruby)
|
||||||
(require 'company-inf-ruby)
|
(define-company-backend! inf-ruby-mode (inf-ruby)))
|
||||||
(define-company-backend! inf-ruby-mode (inf-ruby))))
|
|
||||||
|
|
||||||
(use-package robe
|
(use-package robe
|
||||||
:commands (robe-mode robe-start ruby-load-file)
|
:commands (robe-mode robe-start ruby-load-file)
|
||||||
|
@ -101,9 +100,8 @@
|
||||||
(narf|ruby-load-file)
|
(narf|ruby-load-file)
|
||||||
(add-hook 'after-save-hook 'narf|ruby-load-file nil t))
|
(add-hook 'after-save-hook 'narf|ruby-load-file nil t))
|
||||||
:config
|
:config
|
||||||
(after! company
|
(require 'company-robe)
|
||||||
(require 'company-robe)
|
(define-company-backend! ruby-mode (robe)))
|
||||||
(define-company-backend! ruby-mode (robe))))
|
|
||||||
|
|
||||||
(provide 'module-ruby)
|
(provide 'module-ruby)
|
||||||
;;; module-ruby.el ends here
|
;;; module-ruby.el ends here
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue