File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,11 +10,6 @@ if exists('b:did_indent')
1010endif
1111let b: did_indent = 1
1212
13- " indent correctly if inside <script>
14- " vim/vim@690afe1 for the switch from cindent
15- " overridden with b:html_indent_script1
16- call extend (g: ,{' html_indent_script1' : ' inc' },' keep' )
17-
1813" Now, set up our indentation expression and keys that trigger it.
1914setlocal indentexpr = GetJavascriptIndent ()
2015setlocal autoindent nolisp nosmartindent
3429let s: cpo_save = &cpo
3530set cpo &vim
3631
32+ " indent correctly if inside <script>
33+ " vim/vim@690afe1 for the switch from cindent
34+ " overridden with b:html_indent_script1
35+ call extend (g: ,{' html_indent_script1' : ' inc' },' keep' )
36+
3737" Regex of syntax group names that are or delimit string or are comments.
3838let s: bvars = {
3939 \ ' syng_strcom' : ' string\|comment\|regex\|special\|doc\|template\%(braces\)\@!' ,
You can’t perform that action at this time.
0 commit comments