mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-16 18:34:17 +00:00
fix: replace 'text' in 'yas-text' in bundled snippets
The previous commit broke these snippets by enabling
This commit is contained in:
@@ -27,7 +27,7 @@ class ${1:ClassName}(${2:object}):
|
||||
(replace-regexp-in-string "[[:blank:]]*$" ""
|
||||
(replace-regexp-in-string "^[[:blank:]]*" "" x))) x))
|
||||
(mapcar '(lambda (x) (split-string x "="))
|
||||
(split-string text ",")))
|
||||
(split-string yas-text ",")))
|
||||
indent)))
|
||||
(if (string= args "")
|
||||
(make-string 3 34)
|
||||
@@ -49,7 +49,7 @@ class ${1:ClassName}(${2:object}):
|
||||
(replace-regexp-in-string "^[[:blank:]]*" "" x)))
|
||||
x))
|
||||
(mapcar '(lambda (x) (split-string x "="))
|
||||
(split-string text ",")))
|
||||
(split-string yas-text ",")))
|
||||
(concat "\n" (make-string (current-column) 32)))
|
||||
}
|
||||
$0
|
||||
Reference in New Issue
Block a user