summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-09-06 15:50:47 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2019-09-06 15:50:47 +0200
commitc8897c9c18ee79d3780dd352aee34bf6498c625d (patch)
treeab48bf04013af93c99a4741a19eff06be7600e30
parent34eb36e6d1f6a930200c2afe2db583158cd59f18 (diff)
downloadvim-polyglot-c8897c9c18ee79d3780dd352aee34bf6498c625d.tar.gz
vim-polyglot-c8897c9c18ee79d3780dd352aee34bf6498c625d.zip
Remove unnecessary graphql fix
-rw-r--r--README.md2
-rwxr-xr-xbuild2
-rw-r--r--config.vim6
-rw-r--r--ftdetect/polyglot.vim6
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