Add go support and make it play nice with polyglot
This commit is contained in:
parent
9c479ded42
commit
1c4d971f20
2 changed files with 8 additions and 2 deletions
|
@ -58,3 +58,8 @@ let g:deoplete#sources#jedi#show_docstring = 1
|
||||||
inoremap <expr><C-n> deoplete#mappings#manual_complete()
|
inoremap <expr><C-n> deoplete#mappings#manual_complete()
|
||||||
inoremap <expr><tab> pumvisible() ? "\<c-n>" : "\<tab>"
|
inoremap <expr><tab> pumvisible() ? "\<c-n>" : "\<tab>"
|
||||||
|
|
||||||
|
" Turn off polyglot for go so they play nice
|
||||||
|
if exists('g:loaded_polyglot')
|
||||||
|
let g:polyglot_disabled = ['go']
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,9 @@ Plug 'airblade/vim-gitgutter' " Shows a diff in the gutter
|
||||||
" TODO: consider switching to powerline
|
" TODO: consider switching to powerline
|
||||||
Plug 'vim-airline/vim-airline' " Display more contextual information
|
Plug 'vim-airline/vim-airline' " Display more contextual information
|
||||||
|
|
||||||
" syntax highlighting
|
" language support
|
||||||
Plug 'sheerun/vim-polyglot' " Automatic syntax highlighting
|
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
|
||||||
|
Plug 'sheerun/vim-polyglot' " Automatic syntax highlighting for many languages
|
||||||
|
|
||||||
" vimwiki
|
" vimwiki
|
||||||
Plug 'vimwiki/vimwiki'
|
Plug 'vimwiki/vimwiki'
|
||||||
|
|
Loading…
Reference in a new issue