From e26e7840c22cbefda156e7fd8437a9bb4bf8ead3 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 12 May 2023 17:12:12 +0200 Subject: XML syntax folding in vim --- vimrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index d078273..2d69152 100644 --- a/vimrc +++ b/vimrc @@ -1,5 +1,5 @@ " vimrc of Johannes Ranke -" Last Change: Fri Jul 01, 2022 at 11:47 AM +0200 +" Last Change: Sun Apr 30, 2023 at 08:27 AM +0200 " default settings (much is handled by tpope/sensible) {{{1 set ts=2 set sw=2 @@ -169,4 +169,7 @@ if has('nvim') tnoremap l endif colorscheme desert +" XML editing +let g:xml_syntax_folding=1 +au FileType xml setlocal foldmethod=syntax " {{{1 vim: foldmethod=marker foldlevel=0 ts=2 sw=2 expandtab -- cgit v1.2.1