Fix the cursor setting when a snippet is available
This commit is contained in:
parent
535617dde3
commit
88db7d8ee6
@ -7,7 +7,7 @@
|
||||
'(background-mode dark)
|
||||
'(blink-cursor-mode t)
|
||||
'(column-number-mode t)
|
||||
'(cursor-color "#5c5cff")
|
||||
'(cursor-color "#ffd85c")
|
||||
'(cursor-type (quote bar))
|
||||
'(custom-enabled-themes (quote (tango)))
|
||||
'(custom-file (concat user-emacs-directory "customizations.el"))
|
||||
|
3
init.el
3
init.el
@ -1250,7 +1250,8 @@ INFO plist."
|
||||
(helm-execute-persistent-action)
|
||||
(insert "/")))
|
||||
|
||||
(setq default-cursor-color (frame-parameter nil 'cursor-colbxuor))
|
||||
;; TODO: 'cursor-color is sometimes nil, but why?
|
||||
(setq default-cursor-color (or (frame-parameter nil 'cursor-color) "#ffd85c"))
|
||||
(setq yasnippet-can-fire-cursor-color "purple")
|
||||
|
||||
;; It will test whether it can expand, if yes, cursor color -> purple.
|
||||
|
Loading…
Reference in New Issue
Block a user