nvim: Add vim-polyglot

This allows us to remove the various different syntax plugins we had for
each language and also takes care of most other languages if we ever
need. vim-polyglot includes the plugins we were using.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-02-15 21:17:18 +05:30
parent 16c20e3daa
commit 7ca8c091a4

View file

@ -25,8 +25,8 @@ Plug 'tpope/vim-commentary'
" Theme
Plug 'tomasr/molokai'
Plug 'fmoralesc/molokayo'
Plug 'justinmk/vim-syntax-extra'
Plug 'octol/vim-cpp-enhanced-highlight'
" Syntax highlighting
Plug 'sheerun/vim-polyglot'
" Autoload and read from dish if file changes
Plug 'tmux-plugins/vim-tmux-focus-events'
Plug 'wellle/tmux-complete.vim'
@ -49,34 +49,24 @@ Plug 'guns/vim-sexp', { 'for': [ 'scheme', 'lisp', 'clojure' ] }
Plug 'tpope/vim-sexp-mappings-for-regular-people', { 'for': [ 'scheme', 'lisp', 'clojure' ] }
Plug 'junegunn/rainbow_parentheses.vim', { 'for': [ 'scheme', 'lisp', 'clojure' ] }
Plug 'kovisoft/slimv', { 'for': [ 'scheme', 'lisp', 'clojure' ] }
Plug 'wlangstroth/vim-racket'
" Haskell
Plug 'ekmett/haskell-vim', { 'for': [ 'haskell', 'cabal' ] }
Plug 'ndmitchell/ghcid', { 'rtp': 'plugins/nvim' }
Plug 'Twinside/vim-hoogle', { 'for': 'haskell' }
Plug 'hspec/hspec.vim'
Plug 'pbrisbin/vim-syntax-shakespeare'
Plug 'zenzike/vim-haskell-unicode', { 'for': 'haskell' }
Plug 'godlygeek/tabular'
" For Nix
Plug 'LnL7/vim-nix', { 'for': 'nix' }
" For autocompletion
Plug 'prabirshrestha/asyncomplete.vim'
Plug 'prabirshrestha/asyncomplete-buffer.vim'
Plug 'prabirshrestha/asyncomplete-file.vim'
Plug 'prabirshrestha/asyncomplete-tags.vim'
Plug 'Guzzii/python-syntax'
" Autocomplete for Rust
Plug 'cespare/vim-toml', { 'for': 'rust' }
Plug 'rust-lang/rust.vim', { 'for': 'rust' }
" Rust
Plug 'mhinz/vim-crates'
" Erlang Support
Plug 'vim-erlang/vim-erlang-tags', { 'for': 'erlang' }
Plug 'vim-erlang/vim-erlang-runtime', { 'for': 'erlang' }
Plug 'vim-erlang/vim-erlang-omnicomplete', { 'for': 'erlang' }
Plug 'vim-erlang/vim-erlang-compiler', { 'for': 'erlang' }
" Purescript
Plug 'purescript-contrib/purescript-vim', { 'for': 'purescript' }
" Neo/Async stuff
Plug 'sbdchd/neoformat'
Plug 'neomake/neomake'
@ -93,10 +83,6 @@ Plug 'tpope/vim-vinegar'
Plug 'wellle/targets.vim'
Plug 'Yggdroot/indentLine'
Plug 'esamattis/slimux'
" Miscellaneous language syntax specific
Plug 'vmchale/dhall-vim'
Plug 'dag/vim-fish'
Plug 'lifepillar/pgsql.vim'
" LC related
Plug 'liuchengxu/vista.vim'
Plug 'prabirshrestha/async.vim'