summaryrefslogtreecommitdiffstats
path: root/after/indent
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-11-15 17:27:14 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2019-11-15 17:27:14 +0100
commitd15651463ab5c3dd6609e548527a8ea18ab80c98 (patch)
treed148d7d3f48beefe0d1b7864355ff54ea6b55f50 /after/indent
parent0c79dd3e73e8e09b73d4a5d20bf470a3f6f715f2 (diff)
downloadvim-polyglot-4.1.1.tar.gz
vim-polyglot-4.1.1.zip
Updatev4.1.1
Diffstat (limited to 'after/indent')
-rw-r--r--after/indent/javascript.vim2
-rw-r--r--after/indent/typescript.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/after/indent/javascript.vim b/after/indent/javascript.vim
index 73e01595..f183061c 100644
--- a/after/indent/javascript.vim
+++ b/after/indent/javascript.vim
@@ -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'))
diff --git a/after/indent/typescript.vim b/after/indent/typescript.vim
index 03705bbf..b7f0d185 100644
--- a/after/indent/typescript.vim
+++ b/after/indent/typescript.vim
@@ -26,7 +26,7 @@ if exists('s:did_indent')
endif
setlocal indentexpr=GetJsxIndent()
-setlocal indentkeys=0{,0},0),0],0\,,!^F,o,O,e,*<Return>,<>>,<<>,/
+setlocal indentkeys=0{,0},0),0],0?,0\*,0\,,!^F,:,<:>,o,O,e,<>>,=*/
function! GetJsxIndent()
return jsx_pretty#indent#get(function('GetTypescriptIndent'))