diff options
Diffstat (limited to '')
-rw-r--r-- | configs/rcs/emacs.d/init.el | 45 |
1 files changed, 8 insertions, 37 deletions
diff --git a/configs/rcs/emacs.d/init.el b/configs/rcs/emacs.d/init.el index 35cf83b..7a5bfb6 100644 --- a/configs/rcs/emacs.d/init.el +++ b/configs/rcs/emacs.d/init.el @@ -167,7 +167,6 @@ ivy-count-format "(%d/%d) " ivy-initial-inputs-alist nil ivy-use-ignore-default 'always - ivy-ignore-buffers '("company-statistics-cache.el" "company-statistics-autoload.el") ivy-re-builders-alist '((swiper . ivy--regex-ignore-order) (t . ivy--regex-fuzzy) (t . ivy--regex-ignore-order))) @@ -254,7 +253,6 @@ (unless (getenv var) (exec-path-from-shell-copy-env var))))) -;; auto close bracket, parenthesis insertion (electric-pair-mode 1) (use-package paren @@ -278,19 +276,6 @@ :config (add-hook 'makefile-mode-hook (lambda () (setq-local tab-width 2)))) -(use-package company - :ensure t - :diminish company-mode - :config - (global-company-mode) - (setq company-global-modes '(not term-mode) - company-idle-delay 0.3 - company-minimum-prefix-length 3 - company-selection-wrap-around t - company-show-numbers t - company-tooltip-align-annotations t - company-require-match nil)) - (use-package magit :ensure t :mode (("differential-update-comments" . git-commit-mode) @@ -319,7 +304,6 @@ (use-package go-mode :ensure t - :after (company flycheck) :preface (defun fcuny/go-mode-setup () (add-hook 'go-mode-hook 'flycheck-mode) @@ -348,15 +332,6 @@ (use-package go-projectile :ensure t) -(use-package company-go - :ensure t - :after (company go-mode) - :custom - (company-go-show-annotation t) - :config - (add-hook 'go-mode-hook 'company-mode) - (add-to-list 'company-backends 'company-go)) - (use-package python :mode (("\\.py$" . python-mode)) :ensure t @@ -383,34 +358,30 @@ (use-package yaml-mode :ensure t - :after (flycheck flyspell) + :after (flyspell) :mode (("\\.yml?\\'" . yaml-mode) ("\\.yaml?\\'" . yaml-mode)) - :hook ((yaml-mode . flycheck-mode) - (yaml-mode . flyspell-prog-mode))) + :hook ((yaml-mode . flyspell-prog-mode))) (use-package json-mode :ensure t - :after (flycheck flyspell) + :after (flyspell) :custom (json-reformat:indent-width 2) (js-indent-level 2) - :hook ((json-mode . flyspell-prog-mode) - (json-mode . flycheck-mode)) + :hook ((json-mode . flyspell-prog-mode)) :init (if (fc/check-work-machine-p) (add-to-list 'auto-mode-alist '("\\.workflow$" . json-mode)))) (use-package thrift :ensure t - :after (flycheck flyspell) + :after (flyspell) :custom (thrift-indent-level 2) - :hook ((thrift . flyspell-prog-mode) - (thrift . flycheck-mode))) + :hook ((thrift . flyspell-prog-mode))) (use-package protobuf-mode :ensure t - :after (flycheck flyspell) - :hook ((protobuf-mode . flyspell-prog-mode) - (protobuf-mode . flycheck-mode))) + :after (flyspell) + :hook ((protobuf-mode . flyspell-prog-mode))) |