diff options
Diffstat (limited to '')
| -rwxr-xr-x | build | 3 | ||||
| -rw-r--r-- | ftdetect/polyglot.vim | 11 | 
2 files changed, 14 insertions, 0 deletions
| @@ -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 63248b95..f4bd7e95 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 | 
