We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3db896b commit 1a01ef2Copy full SHA for 1a01ef2
indent/html.vim
@@ -606,7 +606,7 @@ func! s:CSSIndent()
606
" When the line starts with '*' or the previous line starts with "/*"
607
" and does not end in "*/", use C indenting to format the comment.
608
" Adopted $VIMRUNTIME/indent/css.vim
609
- let curtext = getline(v:lnum)
+ let curtext = getline(v:lnum - 1)
610
if curtext =~ '^\s*[*]'
611
\ || (v:lnum > 1 && getline(v:lnum - 1) =~ '\s*/\*'
612
\ && getline(v:lnum - 1) !~ '\*/\s*$')
0 commit comments