This commit is contained in:
Adam Stankiewicz
2019-11-15 17:27:14 +01:00
parent 0c79dd3e73
commit d15651463a
13 changed files with 873 additions and 584 deletions

View File

@@ -21,7 +21,7 @@ if exists('s:did_indent')
endif
setlocal indentexpr=GetJsxIndent()
setlocal indentkeys=0{,0},0),0],0\,,!^F,o,O,e,<>>,=*/
setlocal indentkeys=0{,0},0),0],0?,0\*,0\,,!^F,:,<:>,o,O,e,<>>,=*/
function! GetJsxIndent()
return jsx_pretty#indent#get(function('GetJavascriptIndent'))