From 1e6ef81cef0cf236ad69643fd850910ff49c93f1 Mon Sep 17 00:00:00 2001 From: Nicholas Novak Date: Thu, 3 Feb 2022 13:47:47 -0800 Subject: [PATCH] Added ultisnips and altered some options --- nvim/.config/nvim/init.vim | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index fd14e48..b84e1bb 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -1,13 +1,20 @@ call plug#begin(has('nvim') ? stdpath('data') . '/plugged' : '~/.vim/plugged') +" Go development Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } +" Better python syntax Plug 'vim-python/python-syntax' +" Colorscheme Plug 'srcery-colors/srcery-vim' +" Live preview for markdown Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app && yarn install' } +" Snippets +Plug 'SirVer/ultisnips' + " Latex Plug 'lervag/vimtex' 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 +" Disable the scroll sync in the preview +let g:mkdp_preview_options = { + \ 'disable_sync_scroll': 1, + \ } + " Python syntax config let g:python_highlight_all = 1