From ccfc5393dea92e2248abce49071c65077c9806f8 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado <55825613+luevano@users.noreply.github.com> Date: Thu, 12 Mar 2020 14:36:15 -0700 Subject: Fix syntastic and zsh history --- .config/nvim/init.vim | 15 ++++++++++----- .config/zsh/.zshrc | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) (limited to '.config') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index b24377a..c1cebed 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -48,7 +48,7 @@ set showcmd let g:vimtex_view_method=$READER let g:vimtex_quickfix_mode=0 Plug 'KeitaNakamura/tex-conceal.vim' - set conceallevel=2 + set conceallevel=0 let g:tex_conceal="abdgm" " Python @@ -57,15 +57,20 @@ set showcmd Plug 'vim-scripts/indentpython.vim' Plug 'jmcantrell/vim-virtualenv' Plug 'Yggdroot/indentLine' + Plug 'nvie/vim-flake8' + + " Syntax Plug 'vim-syntastic/syntastic' - " set statusline+=%#warningmsg# - " set statusline+=%{SyntasticStatuslineFlag()} - " set statusline+=%* + set statusline+=%#warningmsg# + set statusline+=%{SyntasticStatuslineFlag()} + set statusline+=%* let g:syntastic_always_populate_loc_list=1 let g:syntastic_auto_loc_list=1 let g:syntastic_check_on_open=1 let g:syntastic_check_on_wq=0 - Plug 'nvie/vim-flake8' + let g:syntastic_latex_lacheck_quiet_messsages={ + \ "!level": "errors", + \ "regex": 'possible'} call plug#end() "" Commands for plug. " PlugInstall [name ...] [#threads] Install plugins diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 5e4138e..77d9c09 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -13,7 +13,7 @@ PS1="%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta] [[ -f $HOME/.config/aliasrc ]] && . ~/.config/aliasrc # History cache. -HISTFILE=~/.cache/zsh/history +HISTFILE=$HOME/.cache/zsh/history HISTSIZE=10000 SAVEHIST=10000 setopt appendhistory autocd -- cgit v1.2.3-54-g00ecf