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
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue