Sha256: 0bd3299c251332ded588a33febc9f50d7ec92fbedf2aa3202e1c9eb13a3b8817
Contents?: true
Size: 942 Bytes
Versions: 9
Compression:
Stored size: 942 Bytes
Contents
" Source the standard indentation file, since we only want to adjust the " default indentation. sou $VIMRUNTIME/indent/html.vim " Set the default indentation to be that of the standard indent file. let b:defaultIndentExpr = &indentexpr " Use IndentAnything setlocal indentexpr=IndentAnything() " Echo info about indentations let b:indent_anything_echo = 1 " " Adjust the default indentation for comments. Set the comments for html to " look like this: " " <!-- " - comment here " --> " setl comments=sr:<!--,m:-,e:--> let b:blockCommentStartRE = '<!--' let b:blockCommentMiddleRE = '-' let b:blockCommentEndRE = '-->' let b:blockCommentMiddleExtra = 3 " Specify the syntax names for html comments and strings let b:blockCommentRE = 'htmlComment' let b:commentRE = b:blockCommentRE let b:stringRE = 'htmlString' let b:singleQuoteStringRE = b:stringRE let b:doubleQuoteStringRE = b:stringRE
Version data entries
9 entries across 9 versions & 1 rubygems