diff options
Diffstat (limited to 'nvim/ftplugin/html.vim')
| -rw-r--r-- | nvim/ftplugin/html.vim | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nvim/ftplugin/html.vim b/nvim/ftplugin/html.vim new file mode 100644 index 0000000..fced505 --- /dev/null +++ b/nvim/ftplugin/html.vim | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | setlocal tabstop=2 | ||
| 2 | setlocal softtabstop=2 | ||
| 3 | setlocal shiftwidth=2 | ||
| 4 | setlocal smarttab | ||
| 5 | setlocal expandtab | ||
| 6 | setlocal autoindent | ||
| 7 | |||
| 8 | setlocal foldenable | ||
| 9 | setlocal foldmethod=indent | ||
| 10 | |||
| 11 | let g:html_indent_script1='inc' | ||
| 12 | let g:html_indent_style1='inc' | ||
| 13 | let g:html_indent_autotags='html' | ||
| 14 | let g:html_indent_inctags='head,body' | ||
