This commit is contained in:
Salyrus
2021-12-19 07:47:25 +01:00
parent 9558da105a
commit 12a52d5b4c

View File

@ -6,21 +6,39 @@
" | | https://pim.wtf/ " | | https://pim.wtf/
" \_| " \_|
" "
" Neovim configuation file. " Neovim configuration file.
" load all plugins.
call plug#begin('~/.local/share/nvim/plugged') call plug#begin('~/.local/share/nvim/plugged')
Plug 'vimsence/vimsence' Plug 'vimsence/vimsence'
Plug 'lervag/vimtex' Plug 'lervag/vimtex'
Plug 'python-mode/python-mode' Plug 'python-mode/python-mode'
Plug 'rust-lang/rust.vim' Plug 'rust-lang/rust.vim'
Plug 'Gavinok/vim-troff' Plug 'Gavinok/vim-troff'
Plug 'vim-airline/vim-airline'
Plug 'Yggdroot/indentLine'
call plug#end() call plug#end()
:set number relativenumber " configurations.
set number relativenumber
set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab
set softtabstop=0 noexpandtab
autocmd BufRead *.md set spell spelllang=en_uk
highlight LineNr ctermfg=8
" vimtex configuration.
let g:tex_flavor='latex' let g:tex_flavor='latex'
let g:vimtex_view_method='zathura' let g:vimtex_view_method='zathura'
let g:vimtex_quickfix_mode=0 let g:vimtex_quickfix_mode=0
let g:vimtex_view_general_viewer='zathura' let g:vimtex_view_general_viewer='zathura'
highlight LineNr ctermfg=8 " ignore some dumb PEP8 warnings.
let g:pymode_lint_ignore="E501,W"
let g:pymode_lint_ignore="E302,W"
"Set color of PEP8 line end column to grey.
autocmd BufRead *.py hi ColorColumn ctermbg=8
" other plugins configuration
let g:indentLine_leadingSpaceEnabled=1
let g:airline#extensions#wordcount#enabled=1