diff --git a/ftplugin/typoscript.vim b/ftplugin/typoscript.vim index 9cb4ab3..488e092 100644 --- a/ftplugin/typoscript.vim +++ b/ftplugin/typoscript.vim @@ -1 +1,9 @@ -setlocal commentstring=//\ %s +setlocal commentstring=#%s + +setlocal cindent +setlocal cinwords= +setlocal cinoptions= +" Do not indent after assignment +setlocal cinoptions+=+0 +" Indent multi line value, but not closing brace +setlocal cinoptions+=(s,m1