Added ultisnips and altered some options
This commit is contained in:
@@ -1,13 +1,20 @@
|
|||||||
call plug#begin(has('nvim') ? stdpath('data') . '/plugged' : '~/.vim/plugged')
|
call plug#begin(has('nvim') ? stdpath('data') . '/plugged' : '~/.vim/plugged')
|
||||||
|
|
||||||
|
" Go development
|
||||||
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
|
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
|
||||||
|
|
||||||
|
" Better python syntax
|
||||||
Plug 'vim-python/python-syntax'
|
Plug 'vim-python/python-syntax'
|
||||||
|
|
||||||
|
" Colorscheme
|
||||||
Plug 'srcery-colors/srcery-vim'
|
Plug 'srcery-colors/srcery-vim'
|
||||||
|
|
||||||
|
" Live preview for markdown
|
||||||
Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app && yarn install' }
|
Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app && yarn install' }
|
||||||
|
|
||||||
|
" Snippets
|
||||||
|
Plug 'SirVer/ultisnips'
|
||||||
|
|
||||||
" Latex
|
" Latex
|
||||||
Plug 'lervag/vimtex'
|
Plug 'lervag/vimtex'
|
||||||
Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' }
|
Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' }
|
||||||
@@ -25,6 +32,11 @@ let g:go_highlight_operators = 1
|
|||||||
|
|
||||||
let g:go_auto_type_info = 1
|
let g:go_auto_type_info = 1
|
||||||
|
|
||||||
|
" Disable the scroll sync in the preview
|
||||||
|
let g:mkdp_preview_options = {
|
||||||
|
\ 'disable_sync_scroll': 1,
|
||||||
|
\ }
|
||||||
|
|
||||||
" Python syntax config
|
" Python syntax config
|
||||||
let g:python_highlight_all = 1
|
let g:python_highlight_all = 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user