nvim: init.vim: Add better syntax highlighter for Python
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
64db0550c1
commit
9bf38af00a
1 changed files with 4 additions and 1 deletions
|
@ -58,8 +58,9 @@ Plug 'hspec/hspec.vim'
|
||||||
Plug 'LnL7/vim-nix', { 'for': 'nix' }
|
Plug 'LnL7/vim-nix', { 'for': 'nix' }
|
||||||
" For autocompletion
|
" For autocompletion
|
||||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||||
" Autocomplete for Python
|
" For Python
|
||||||
Plug 'zchee/deoplete-jedi'
|
Plug 'zchee/deoplete-jedi'
|
||||||
|
Plug 'numirias/semshi', { 'do': ':UpdateRemotePlugins' }
|
||||||
" Autocomplete for Rust
|
" Autocomplete for Rust
|
||||||
Plug 'sebastianmarkow/deoplete-rust'
|
Plug 'sebastianmarkow/deoplete-rust'
|
||||||
Plug 'cespare/vim-toml', { 'for': 'rust' }
|
Plug 'cespare/vim-toml', { 'for': 'rust' }
|
||||||
|
@ -335,6 +336,8 @@ call deoplete#custom#option('sources', {
|
||||||
let g:deoplete#sources#rust#disable_keymap = 1
|
let g:deoplete#sources#rust#disable_keymap = 1
|
||||||
let g:deoplete#sources#rust#racer_binary=expand('$HOME/.cargo/bin/racer')
|
let g:deoplete#sources#rust#racer_binary=expand('$HOME/.cargo/bin/racer')
|
||||||
let g:deoplete#sources#rust#rust_source_path=expand('$HOME/GitSources/rust/src')
|
let g:deoplete#sources#rust#rust_source_path=expand('$HOME/GitSources/rust/src')
|
||||||
|
" Required by Semshi
|
||||||
|
let g:deoplete#auto_complete_delay = 100
|
||||||
|
|
||||||
" Use airline
|
" Use airline
|
||||||
let g:airline#extensions#tabline#enabled = 2
|
let g:airline#extensions#tabline#enabled = 2
|
||||||
|
|
Loading…
Reference in a new issue