Fixed math snippets and gruvbox colorscheme

This commit is contained in:
2022-03-03 11:53:24 -08:00
parent 7203188e49
commit a705e6fd07
2 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ endsnippet
snippet mk "InlineMath" wA
$${1}$`!p
if t[2] and t[2][0] not in [',', '.', '?', '-', ' ']:
if t[2] and t[2][0] not in [',', '.', '?', '-']:
snip.rv = ' '
else:
snip.rv = ''
+9 -2
View File
@@ -17,7 +17,7 @@ Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
Plug 'psf/black'
" Colorscheme
Plug 'srcery-colors/srcery-vim'
Plug 'morhetz/gruvbox'
" Live preview for markdown
Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app && yarn install' }
@@ -209,6 +209,7 @@ set gdefault
" Prevent markdown from collapsing content
set nofoldenable
" Vertical bar at 80 characters
set cc=80
set tw=792034
set background=dark
@@ -218,4 +219,10 @@ set noexpandtab
set tabstop=2
set shiftwidth=2
set mouse=a
colorscheme srcery
" True-color support: https://github.com/morhetz/gruvbox/wiki/Terminal-specific#0-recommended-neovimvim-true-color-support
if (has("termguicolors"))
set termguicolors
endif
colorscheme gruvbox