Add line numbers, merge diagnostic output into it

This commit is contained in:
Nicole Tietz-Sokolskaya 2021-10-03 19:43:36 -04:00
parent 4f7b729fd1
commit 0f424869b6
1 changed files with 11 additions and 0 deletions

View File

@ -34,6 +34,17 @@ au FileChangedShell * checktime
au CursorHold * checktime au CursorHold * checktime
au CursorHoldI * checktime au CursorHoldI * checktime
" Line numnbmers are cool
set number
" Always show the signcolumn, otherwise it would shift the text each time
" diagnostics appear/become resolved.
if has("nvim-0.5.0") || has("patch-8.1.1564")
" Recently vim can merge signcolumn and number column into one
set signcolumn=number
else
set signcolumn=yes
endif
" Turn off polyglot for some langs so they play nice " Turn off polyglot for some langs so they play nice
if exists('g:loaded_polyglot') if exists('g:loaded_polyglot')
let g:polyglot_disabled = ['go', 'rst', 'tla'] let g:polyglot_disabled = ['go', 'rst', 'tla']