From c0b866aac3c5cb534486a70284de1bbbdc392d97 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 4 Oct 2020 21:19:51 +0200 Subject: Add graphql indentation again, thanks @jparise! --- after/indent/javascript-1.vim | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 after/indent/javascript-1.vim (limited to 'after/indent/javascript-1.vim') diff --git a/after/indent/javascript-1.vim b/after/indent/javascript-1.vim new file mode 100644 index 00000000..2992e942 --- /dev/null +++ b/after/indent/javascript-1.vim @@ -0,0 +1,9 @@ +if !exists('g:polyglot_disabled') || (index(g:polyglot_disabled, 'javascript') == -1 && index(g:polyglot_disabled, 'jsx') == -1) + +if get(g:, 'vim_jsx_pretty_disable_js', 0) + finish +endif + +source :h/jsx.vim + +endif -- cgit v1.2.3