Fix nvimlsp not picking up show_line_number

This commit is contained in:
BonaBeavis 2022-08-23 16:38:15 +02:00 committed by GitHub
parent 9d20473e91
commit d1f2c13e4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ function! airline#extensions#nvimlsp#get(type) abort
let error_symbol = get(g:, 'airline#extensions#nvimlsp#error_symbol', 'E:') let error_symbol = get(g:, 'airline#extensions#nvimlsp#error_symbol', 'E:')
let warning_symbol = get(g:, 'airline#extensions#nvimlsp#warning_symbol', 'W:') let warning_symbol = get(g:, 'airline#extensions#nvimlsp#warning_symbol', 'W:')
let show_line_numbers = get(g:, 'airline#extensions#nvimlsp', 1) let show_line_numbers = get(g:, 'airline#extensions#nvimlsp#show_line_numbers', 1)
let is_err = a:type ==# 'Error' let is_err = a:type ==# 'Error'