From 6f6457b7397247a34e25d4d9bfca434d8306283e Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Mon, 22 Dec 2025 17:28:43 +0100 Subject: Backup: Alte Neovim-Konfiguration --- nvim_alt/ftplugin/html.vim | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 nvim_alt/ftplugin/html.vim (limited to 'nvim_alt/ftplugin/html.vim') 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 @@ +setlocal tabstop=2 +setlocal softtabstop=2 +setlocal shiftwidth=2 +setlocal smarttab +setlocal expandtab +setlocal autoindent + +setlocal foldenable +setlocal foldmethod=expr +setlocal foldexpr=nvim_treesitter#foldexpr() + +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