indent-guide moved to ruby extension. Two new abilities added for cursors

This commit is contained in:
Sameer Rahmani 2017-04-08 14:59:01 +04:30
parent d72df6c94b
commit 00f01532de
6 changed files with 16 additions and 10 deletions

View File

@ -7,7 +7,6 @@
(depends-on 'company)
(depends-on 'company-statistics)
(depends-on 'projectile)
(depends-on 'indent-guide)
(depends-on 'yasnippet)
(depends-on 'smart-mode-line)

View File

@ -264,12 +264,6 @@
"Smarter modeline for FG42"
(setq sml/no-confirm-load-theme t)
(setq sml/theme 'respectful)
(sml/setup))
(ability indent-guide
"Show indent guides."
(add-hook 'ruby-mode-hook 'indent-guide-mode)
(add-hook 'web-mode-hook 'indent-guide-mode)
(set-face-foreground 'indent-guide-face "#bbb")))
(sml/setup)))
(provide 'extensions/development/init)

View File

@ -101,6 +101,7 @@
(ability nlinum ()
"Faster alternative to linum-mode"
(require 'nlinum)
(setq nlinum-highlight-current-line t)
(global-nlinum-mode t))
;; Default indent width
@ -125,6 +126,11 @@
(show-paren-mode t)
(cua-selection-mode t)
(ability thin-cursor ()
(setq-default cursor-type 'bar))
(ability nonblinker-cursor ()
(blink-cursor-mode -1))
;; expand-region -------------------------------------------

View File

@ -18,7 +18,7 @@
(depends-on 'projectile-rails)
(depends-on 'robe)
(depends-on 'yari)
(depends-on 'ggtags)
(depends-on 'indent-guide)
(depends-on 'rake)
;; Extension -------------------------------------

View File

@ -30,6 +30,12 @@
(require 'rbenv)
(global-rbenv-mode))
(ability indent-guide
"Show indent guides."
(add-hook 'ruby-mode-hook 'indent-guide-mode)
(add-hook 'web-mode-hook 'indent-guide-mode)
(set-face-foreground 'indent-guide-face "#bbb"))
(ability ruby-editor ('flycheck)
"Gives FG42 the ability to edit ruby files."

View File

@ -4,6 +4,7 @@
"Spacemacs dark color theme"
(interactive)
(deftheme spacemacs-dark "Spacemacs theme, the dark version")
(create-spacemacs-theme 'dark 'spacemacs-dark))
(create-spacemacs-theme 'dark 'spacemacs-dark)
(set-cursor-color "#d0d0de") )
(provide 'themes/color-theme-spacemacs-dark)