From c8897c9c18ee79d3780dd352aee34bf6498c625d Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Fri, 6 Sep 2019 15:50:47 +0200 Subject: Remove unnecessary graphql fix --- README.md | 2 +- build | 2 +- config.vim | 6 ------ ftdetect/polyglot.vim | 6 ------ 4 files changed, 2 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 0343eae8..5dc6680a 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ If you need full functionality of any plugin, please use it directly with your p - [json5](https://github.com/GutenYe/json5.vim) (syntax) - [json](https://github.com/elzr/vim-json) (syntax, indent, ftplugin) - [jst](https://github.com/briancollins/vim-jst) (syntax, indent) -- [jsx](https://github.com/MaxMEllon/vim-jsx-pretty) (autoload, syntax, indent, ftplugin) +- [jsx](https://github.com/MaxMEllon/vim-jsx-pretty) (autoload, after) - [julia](https://github.com/JuliaEditorSupport/julia-vim) (syntax, indent, autoload, ftplugin) - [kotlin](https://github.com/udalov/kotlin-vim) (syntax, indent, ftplugin) - [latex](https://github.com/LaTeX-Box-Team/LaTeX-Box) (syntax, indent, ftplugin) diff --git a/build b/build index 9720262f..58c07456 100755 --- a/build +++ b/build @@ -222,7 +222,7 @@ PACKS=" json5:GutenYe/json5.vim json:elzr/vim-json jst:briancollins/vim-jst - jsx:MaxMEllon/vim-jsx-pretty + jsx:MaxMEllon/vim-jsx-pretty:_ALL julia:JuliaEditorSupport/julia-vim kotlin:udalov/kotlin-vim latex:LaTeX-Box-Team/LaTeX-Box diff --git a/config.vim b/config.vim index d6f6dbc3..00557aa0 100644 --- a/config.vim +++ b/config.vim @@ -77,16 +77,10 @@ augroup filetypedetect " swift autocmd BufNewFile,BufRead *.swift set filetype=swift - "jinja autocmd BufNewFile,BufRead *.jinja2,*.j2,*.jinja,*.nunjucks,*.nunjs,*.njk set ft=jinja augroup END -" Fix for https://github.com/sheerun/vim-polyglot/issues/236#issuecomment-387984954 -if (!exists('g:graphql_javascript_tags')) - let g:graphql_javascript_tags = ['gql', 'graphql', 'Relay.QL'] -endif - augroup filetypedetect autocmd BufNewFile,BufReadPost *.tsx setlocal filetype=typescript.tsx augroup END diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 42d1b344..b627c35b 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -77,16 +77,10 @@ augroup filetypedetect " swift autocmd BufNewFile,BufRead *.swift set filetype=swift - "jinja autocmd BufNewFile,BufRead *.jinja2,*.j2,*.jinja,*.nunjucks,*.nunjs,*.njk set ft=jinja augroup END -" Fix for https://github.com/sheerun/vim-polyglot/issues/236#issuecomment-387984954 -if (!exists('g:graphql_javascript_tags')) - let g:graphql_javascript_tags = ['gql', 'graphql', 'Relay.QL'] -endif - augroup filetypedetect autocmd BufNewFile,BufReadPost *.tsx setlocal filetype=typescript.tsx augroup END -- cgit v1.2.3