Skip to content

Commit 1066fb6

Browse files
author
lepture
committed
add readme for html configuration
1 parent 310c5aa commit 1066fb6

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,22 @@ If you prefer tpope's pathogen, that's ok. Just clone it:
3131
cd ~/.vim/bundle
3232
git clone https://github.com/pangloss/vim-javascript.git
3333

34+
## Configuration
35+
36+
[html indentation](http://www.vim.org/scripts/script.php?script_id=2075)
37+
provided by Andy Wokula is faster. But you need to make some configuration.
38+
39+
Suggested configuration:
40+
41+
```vim
42+
let g:html_indent_inctags = "html,body,head,tbody"
43+
let g:html_indent_script1 = "inc"
44+
let g:html_indent_style1 = "inc"
45+
```
46+
47+
Head over to [vim.org](http://www.vim.org/scripts/script.php?script_id=2075)
48+
for more information.
49+
3450
## Bug report
3551

3652
Report a bug on [GitHub Issues](https://github.com/pangloss/vim-javascript/issues).

0 commit comments

Comments
 (0)