indent-guide moved to ruby extension. Two new abilities added for cursors
This commit is contained in:
parent
d72df6c94b
commit
00f01532de
|
@ -7,7 +7,6 @@
|
||||||
(depends-on 'company)
|
(depends-on 'company)
|
||||||
(depends-on 'company-statistics)
|
(depends-on 'company-statistics)
|
||||||
(depends-on 'projectile)
|
(depends-on 'projectile)
|
||||||
(depends-on 'indent-guide)
|
|
||||||
(depends-on 'yasnippet)
|
(depends-on 'yasnippet)
|
||||||
(depends-on 'smart-mode-line)
|
(depends-on 'smart-mode-line)
|
||||||
|
|
||||||
|
|
|
@ -264,12 +264,6 @@
|
||||||
"Smarter modeline for FG42"
|
"Smarter modeline for FG42"
|
||||||
(setq sml/no-confirm-load-theme t)
|
(setq sml/no-confirm-load-theme t)
|
||||||
(setq sml/theme 'respectful)
|
(setq sml/theme 'respectful)
|
||||||
(sml/setup))
|
(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")))
|
|
||||||
|
|
||||||
(provide 'extensions/development/init)
|
(provide 'extensions/development/init)
|
||||||
|
|
|
@ -101,6 +101,7 @@
|
||||||
(ability nlinum ()
|
(ability nlinum ()
|
||||||
"Faster alternative to linum-mode"
|
"Faster alternative to linum-mode"
|
||||||
(require 'nlinum)
|
(require 'nlinum)
|
||||||
|
(setq nlinum-highlight-current-line t)
|
||||||
(global-nlinum-mode t))
|
(global-nlinum-mode t))
|
||||||
|
|
||||||
;; Default indent width
|
;; Default indent width
|
||||||
|
@ -125,6 +126,11 @@
|
||||||
(show-paren-mode t)
|
(show-paren-mode t)
|
||||||
(cua-selection-mode t)
|
(cua-selection-mode t)
|
||||||
|
|
||||||
|
(ability thin-cursor ()
|
||||||
|
(setq-default cursor-type 'bar))
|
||||||
|
|
||||||
|
(ability nonblinker-cursor ()
|
||||||
|
(blink-cursor-mode -1))
|
||||||
|
|
||||||
|
|
||||||
;; expand-region -------------------------------------------
|
;; expand-region -------------------------------------------
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
(depends-on 'projectile-rails)
|
(depends-on 'projectile-rails)
|
||||||
(depends-on 'robe)
|
(depends-on 'robe)
|
||||||
(depends-on 'yari)
|
(depends-on 'yari)
|
||||||
(depends-on 'ggtags)
|
(depends-on 'indent-guide)
|
||||||
(depends-on 'rake)
|
(depends-on 'rake)
|
||||||
|
|
||||||
;; Extension -------------------------------------
|
;; Extension -------------------------------------
|
||||||
|
|
|
@ -30,6 +30,12 @@
|
||||||
(require 'rbenv)
|
(require 'rbenv)
|
||||||
(global-rbenv-mode))
|
(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)
|
(ability ruby-editor ('flycheck)
|
||||||
"Gives FG42 the ability to edit ruby files."
|
"Gives FG42 the ability to edit ruby files."
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
"Spacemacs dark color theme"
|
"Spacemacs dark color theme"
|
||||||
(interactive)
|
(interactive)
|
||||||
(deftheme spacemacs-dark "Spacemacs theme, the dark version")
|
(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)
|
(provide 'themes/color-theme-spacemacs-dark)
|
||||||
|
|
Loading…
Reference in New Issue