aboutsummaryrefslogtreecommitdiff
path: root/nvim/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/ftplugin')
-rw-r--r--nvim/ftplugin/c.vim3
-rw-r--r--nvim/ftplugin/html.vim3
2 files changed, 4 insertions, 2 deletions
diff --git a/nvim/ftplugin/c.vim b/nvim/ftplugin/c.vim
index e0c347d..fd45dbd 100644
--- a/nvim/ftplugin/c.vim
+++ b/nvim/ftplugin/c.vim
@@ -4,4 +4,5 @@ setlocal formatoptions=tcqr
4setlocal cindent 4setlocal cindent
5 5
6setlocal foldenable 6setlocal foldenable
7setlocal foldmethod=syntax 7setlocal foldmethod=expr
8setlocal foldexpr=nvim_treesitter#foldexpr()
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
6setlocal autoindent 6setlocal autoindent
7 7
8setlocal foldenable 8setlocal foldenable
9setlocal foldmethod=indent 9setlocal foldmethod=expr
10setlocal foldexpr=nvim_treesitter#foldexpr()
10 11
11let g:html_indent_script1='inc' 12let g:html_indent_script1='inc'
12let g:html_indent_style1='inc' 13let g:html_indent_style1='inc'