From ef369d45a505403587ea0bae30ce6768ba51398c Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Fri, 24 Mar 2017 16:10:53 +0100 Subject: [PATCH] fix: Re-introduce config.vim into build --- build | 3 +++ ftdetect/polyglot.vim | 11 +++++++++++ 2 files changed, 14 insertions(+) diff --git a/build b/build index 6cb99f5..c4e653c 100755 --- a/build +++ b/build @@ -29,6 +29,9 @@ download() { extract() { printf "\n" + + cat config.vim >> tmp/polyglot.vim + for pack in $1; do name="$(printf "$pack" | cut -d ':' -f 1)" path="$(printf "$pack" | cut -d ':' -f 2)" diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 63248b9..f4bd7e9 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -1,3 +1,14 @@ +" Enable jsx syntax by default +if !exists('g:jsx_ext_required') + let g:jsx_ext_required = 0 +endif + +" Disable json concealing by default +if !exists('g:vim_json_syntax_conceal') + let g:vim_json_syntax_conceal = 0 +endif + +let g:filetype_euphoria = 'elixir' augroup filetypedetect " apiblueprint:sheerun/apiblueprint.vim autocmd BufReadPost,BufNewFile *.apib set filetype=apiblueprint