From 74fd73196a645f092e285aeb178590f423df0401 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Fri, 31 Mar 2023 13:55:01 +0200 Subject: Feineinstellungen für html und c Dateien MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nvim/ftplugin/html.vim | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 nvim/ftplugin/html.vim (limited to 'nvim/ftplugin/html.vim') 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 @@ +setlocal tabstop=2 +setlocal softtabstop=2 +setlocal shiftwidth=2 +setlocal smarttab +setlocal expandtab +setlocal autoindent + +setlocal foldenable +setlocal foldmethod=indent + +let g:html_indent_script1='inc' +let g:html_indent_style1='inc' +let g:html_indent_autotags='html' +let g:html_indent_inctags='head,body' -- cgit v1.3