Do not require match to continue typing with company

This commit is contained in:
Maciej Szlosarczyk 2017-08-28 21:41:22 +03:00
parent a9cf902017
commit 4073c40b2c
No known key found for this signature in database
GPG key ID: 0D4EEACF63D4262E
3 changed files with 5 additions and 6 deletions

View file

@ -153,6 +153,9 @@
(company-abbrev company-dabbrev) (company-abbrev company-dabbrev)
)) ))
;; Do not required match to continue typing
(setq company-require-match 'never)
; Add project management ; Add project management
(require 'projectile) (require 'projectile)
(projectile-mode) (projectile-mode)

3
emacs
View file

@ -20,9 +20,6 @@
'(foreground-color "#cccccc") '(foreground-color "#cccccc")
'(hl-paren-background-colors (quote ("#2492db" "#95a5a6" nil))) '(hl-paren-background-colors (quote ("#2492db" "#95a5a6" nil)))
'(hl-paren-colors (quote ("#ecf0f1" "#ecf0f1" "#c0392b"))) '(hl-paren-colors (quote ("#ecf0f1" "#ecf0f1" "#c0392b")))
'(package-selected-packages
(quote
(company-jedi yaml-mode window-purpose web-mode ujelly-theme toml-mode smart-mode-line scala-mode rvm ruby-end rspec-mode robe rainbow-mode rainbow-delimiters racer pyenv-mode noctilux-theme neotree monokai-theme markdown-mode less-css-mode json-reformat jade-mode indent-guide helm-themes helm-projectile helm-ag haskell-mode haml-mode groovy-mode flycheck flatui-theme exec-path-from-shell evil-nerd-commenter evil-magit evil-leader elpy dumb-jump dockerfile-mode diff-hl dash-at-point column-enforce-mode color-theme-approximate base16-theme atom-one-dark-theme alchemist aggressive-indent ag)))
'(safe-local-variable-values (quote ((encoding . utf-8)))) '(safe-local-variable-values (quote ((encoding . utf-8))))
'(sml/active-background-color "#34495e") '(sml/active-background-color "#34495e")
'(sml/active-foreground-color "#ecf0f1") '(sml/active-foreground-color "#ecf0f1")

View file

@ -43,12 +43,11 @@
;; Activate RVM ;; Activate RVM
(rvm-activate-corresponding-ruby) (rvm-activate-corresponding-ruby)
(robe-start "yes")
;; Initalize completion ;; Initalize completion
(set (make-local-variable 'company-backends) (set (make-local-variable 'company-backends)
'((company-robe company-capf company-dabbrev-code company-yasnippet '((company-robe company-dabbrev-code company-yasnippet))))
company-files)))
(ac-robe-setup))
;;========== Hooks ================================ ;;========== Hooks ================================
(add-hook 'ruby-mode-hook 'editor-ruby-mode-config) (add-hook 'ruby-mode-hook 'editor-ruby-mode-config)