Add line numbers, merge diagnostic output into it
This commit is contained in:
parent
4f7b729fd1
commit
0f424869b6
1 changed files with 11 additions and 0 deletions
|
@ -34,6 +34,17 @@ au FileChangedShell * checktime
|
|||
au CursorHold * 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
|
||||
if exists('g:loaded_polyglot')
|
||||
let g:polyglot_disabled = ['go', 'rst', 'tla']
|
||||
|
|
Loading…
Reference in a new issue