mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 21:13:04 +00:00
Fixed the bug of the default code assigned to yas/buffer-local-condition (Issue 45)
This commit is contained in:
parent
885494084f
commit
76028bf06c
@ -134,10 +134,10 @@ proper values:
|
|||||||
|
|
||||||
(defvar yas/buffer-local-condition
|
(defvar yas/buffer-local-condition
|
||||||
'(if (and (not (bobp))
|
'(if (and (not (bobp))
|
||||||
(or (equal "font-lock-comment-face"
|
(or (equal 'font-lock-comment-face
|
||||||
(get-char-property (1- (point))
|
(get-char-property (1- (point))
|
||||||
'face))
|
'face))
|
||||||
(equal "font-lock-string-face"
|
(equal 'font-lock-string-face
|
||||||
(get-char-property (1- (point))
|
(get-char-property (1- (point))
|
||||||
'face))))
|
'face))))
|
||||||
'(require-snippet-condition . force-in-comment)
|
'(require-snippet-condition . force-in-comment)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user