Browse Source

vimtex

master
Ivan Polyakov 3 years ago
parent
commit
cf307e3537
  1. 19
      .config/nvim/init.vim
  2. 6
      .config/nvim/lua/plugins.lua
  3. 1
      .stow-local-ignore

19
.config/nvim/init.vim

@ -35,3 +35,22 @@ inoremap <C-l> <c-g>u<Esc>[s1z=`]a<c-g>u
""" Plugins """ Plugins
lua require('plugins') lua require('plugins')
"" LaTeX
let g:tex_flavor='latex'
let g:vimtex_view_method='zathura'
let g:vimtex_quickfix_mode=0
let g:vimtex_syntax_conceal = {
\ 'accents': 1,
\ 'cites': 1,
\ 'fancy': 1,
\ 'greek': 1,
\ 'math_bounds': 1,
\ 'math_delimiters': 1,
\ 'math_fracs': 1,
\ 'math_super_sub': 1,
\ 'math_symbols': 1,
\ 'sections': 1,
\ 'styles': 1,
\}
set conceallevel=2

6
.config/nvim/lua/plugins.lua

@ -4,4 +4,10 @@ return require('packer').startup(function()
use 'shaunsingh/nord.nvim' use 'shaunsingh/nord.nvim'
use 'preservim/nerdtree' use 'preservim/nerdtree'
use {
'lervag/vimtex',
tag = 'v2.9',
ft = 'tex'
}
end) end)

1
.stow-local-ignore

@ -2,3 +2,4 @@ README.md
COPYING COPYING
.gitignore .gitignore
.git .git
.gitmodules

Loading…
Cancel
Save