mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-05 20:43:08 +00:00
Complete property values in multi-line CSS declarations
* lisp/textmodes/css-mode.el (css--complete-property-value): Complete property values even when preceded by a newline (bug#44214).
This commit is contained in:
parent
608c821716
commit
d34082671a
@ -1357,7 +1357,9 @@ the string PROPERTY."
|
||||
(defun css--complete-property-value ()
|
||||
"Complete property value at point."
|
||||
(let ((property (and (looking-back "\\([[:alnum:]-]+\\):[^/][^;]*"
|
||||
(line-beginning-position) t)
|
||||
(or (ppss-innermost-start (syntax-ppss))
|
||||
(point-min))
|
||||
t)
|
||||
(member (match-string-no-properties 1)
|
||||
css-property-ids))))
|
||||
(when property
|
||||
|
Loading…
x
Reference in New Issue
Block a user