From 2d3d838cd3147ec3412e5b01051b5d5cf891ed88 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Sun, 2 Apr 2023 21:02:01 +0200 Subject: Konfiguration für Treesitter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nvim/ftplugin/html.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nvim/ftplugin/html.vim') diff --git a/nvim/ftplugin/html.vim b/nvim/ftplugin/html.vim index fced505..fe513b6 100644 --- a/nvim/ftplugin/html.vim +++ b/nvim/ftplugin/html.vim @@ -6,7 +6,8 @@ setlocal expandtab setlocal autoindent setlocal foldenable -setlocal foldmethod=indent +setlocal foldmethod=expr +setlocal foldexpr=nvim_treesitter#foldexpr() let g:html_indent_script1='inc' let g:html_indent_style1='inc' -- cgit v1.3