diff options
| author | Thomas Schmucker <ts@its1.de> | 2023-04-02 21:02:01 +0200 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2023-04-02 21:02:01 +0200 |
| commit | 2d3d838cd3147ec3412e5b01051b5d5cf891ed88 (patch) | |
| tree | ddb5d5c43f7e9fb37822f11f23244c1371eb20e6 /nvim/ftplugin/html.vim | |
| parent | b7b34ea4744205815abba828ec6ec1a82cefdcf1 (diff) | |
| download | dotfiles-2d3d838cd3147ec3412e5b01051b5d5cf891ed88.tar.gz dotfiles-2d3d838cd3147ec3412e5b01051b5d5cf891ed88.tar.bz2 dotfiles-2d3d838cd3147ec3412e5b01051b5d5cf891ed88.zip | |
Konfiguration für Treesitter
Diffstat (limited to 'nvim/ftplugin/html.vim')
| -rw-r--r-- | nvim/ftplugin/html.vim | 3 |
1 files changed, 2 insertions, 1 deletions
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 | |||
| 6 | setlocal autoindent | 6 | setlocal autoindent |
| 7 | 7 | ||
| 8 | setlocal foldenable | 8 | setlocal foldenable |
| 9 | setlocal foldmethod=indent | 9 | setlocal foldmethod=expr |
| 10 | setlocal foldexpr=nvim_treesitter#foldexpr() | ||
| 10 | 11 | ||
| 11 | let g:html_indent_script1='inc' | 12 | let g:html_indent_script1='inc' |
| 12 | let g:html_indent_style1='inc' | 13 | let g:html_indent_style1='inc' |
