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