Add flymake cursor

This commit is contained in:
Maciej Szlosarczyk 2017-08-28 23:19:01 +03:00
parent daa26bbc3b
commit 321146b0aa
No known key found for this signature in database
GPG key ID: 0D4EEACF63D4262E
4 changed files with 10 additions and 4 deletions

View file

@ -144,6 +144,7 @@
(setq company-begin-commands '(self-insert-command)) (setq company-begin-commands '(self-insert-command))
(setq company-selection-wrap-around t) (setq company-selection-wrap-around t)
;; Set up default backends (overriden for specific languages)
(setq company-backends (setq company-backends
'((company-files ; files & directory '((company-files ; files & directory
company-keywords ; keywords company-keywords ; keywords
@ -175,9 +176,6 @@
;; Show projectile lists by most recently active ;; Show projectile lists by most recently active
(setq projectile-sort-order (quote recently-active)) (setq projectile-sort-order (quote recently-active))
;; (add-hook 'projectile-after-switch-project-hook 'magit-status)
;; (add-hook 'projectile-find-file-hook 'projectile-invalidate-cache)
; Use VIM mode ; Use VIM mode
(require 'evil) (require 'evil)
(require 'evil-leader) (require 'evil-leader)

2
emacs
View file

@ -22,7 +22,7 @@
'(hl-paren-colors (quote ("#ecf0f1" "#ecf0f1" "#c0392b"))) '(hl-paren-colors (quote ("#ecf0f1" "#ecf0f1" "#c0392b")))
'(package-selected-packages '(package-selected-packages
(quote (quote
(company-racer 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 pos-tip 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 company-jedi column-enforce-mode color-theme-approximate base16-theme atom-one-dark-theme alchemist aggressive-indent ag))) (flymake-cursor flymake-ruby company-racer 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 pos-tip 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 company-jedi 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

@ -40,6 +40,8 @@
(robe-mode 1) (robe-mode 1)
(company-mode 1) (company-mode 1)
(rspec-mode 1) (rspec-mode 1)
(flymake-mode 1)
(flymake-ruby-load)
;; Activate RVM ;; Activate RVM
(rvm-activate-corresponding-ruby) (rvm-activate-corresponding-ruby)

View file

@ -88,6 +88,9 @@
(unless (package-installed-p 'flymake) (unless (package-installed-p 'flymake)
(package-install 'flymake)) (package-install 'flymake))
(unless (package-installed-p 'flymake-cursor)
(package-install 'flymake-cursor))
(unless (package-installed-p 'projectile) (unless (package-installed-p 'projectile)
(package-install 'projectile)) (package-install 'projectile))
@ -155,6 +158,9 @@
(unless (package-installed-p 'rspec-mode) (unless (package-installed-p 'rspec-mode)
(package-install 'rspec-mode)) (package-install 'rspec-mode))
(unless (package-installed-p 'flymake-ruby)
(package-install 'flymake-ruby))
; Web mode for editing erb ; Web mode for editing erb
(unless (package-installed-p 'web-mode) (unless (package-installed-p 'web-mode)
(package-install 'web-mode)) (package-install 'web-mode))