diff --git a/nvimrc b/nvimrc index 805cf76..c87cf0b 100644 --- a/nvimrc +++ b/nvimrc @@ -19,6 +19,9 @@ let g:netrw_list_hide = '^\.' let g:netrw_winsize=25 map n :Lexplore +" https://stackoverflow.com/questions/34675677/disable-highlight-matched-parentheses-in-vim-let-loaded-matchparen-1-not-w +let g:loaded_matchparen=1 + " fix helptags for opt/ plugins " https://vi.stackexchange.com/questions/17210/generating-help-tags-for-packages-that-are-loaded-by-vim-8s-package-management command! -nargs=0 -bar Helptags @@ -45,7 +48,7 @@ set showmatch set wildmenu set wildmode=list:full,full set number -set norelativenumber +set relativenumber set ruler set backspace=indent,eol,start set ignorecase @@ -109,7 +112,7 @@ augroup vimrc " https://github.com/fatih/vim-go/issues/1757#issuecomment-565130503 autocmd FileType qf if (getwininfo(win_getid())[0].loclist != 1) | wincmd J | endif " Remove trailing whitespace pre-save: - autocmd FileType go,ruby,markdown,rust,python,markdown,lua,sql,bash autocmd BufWritePre silent! %s/\s\+$//e + autocmd FileType go,ruby,markdown,rust,python,markdown,lua,sql,bash,css,scss autocmd BufWritePre silent! %s/\s\+$//e augroup end " Don't remember the current directory for a given file: