diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2019-09-06 15:50:47 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-09-06 15:50:47 +0200 |
commit | c8897c9c18ee79d3780dd352aee34bf6498c625d (patch) | |
tree | ab48bf04013af93c99a4741a19eff06be7600e30 | |
parent | 34eb36e6d1f6a930200c2afe2db583158cd59f18 (diff) | |
download | vim-polyglot-c8897c9c18ee79d3780dd352aee34bf6498c625d.tar.gz vim-polyglot-c8897c9c18ee79d3780dd352aee34bf6498c625d.zip |
Remove unnecessary graphql fix
Diffstat (limited to '')
-rw-r--r-- | README.md | 2 | ||||
-rwxr-xr-x | build | 2 | ||||
-rw-r--r-- | config.vim | 6 | ||||
-rw-r--r-- | ftdetect/polyglot.vim | 6 |
4 files changed, 2 insertions, 14 deletions
@@ -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) @@ -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 @@ -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 |