feat(Neovim/Vim): Tune statusline a little bit

Removed the first-line a warning/error occurs, info from the status-line
for both, Neovim's LSP server and Vim's CoC.  That information can be
obtained when going through the quickfix list of diagnostics, instead of
seeing only the first and then the second, if the first gets fixed.

Also, as a bonus, enabled the global-status-line setting in Neovim.
This commit is contained in:
Dionisio E Alonso 2024-04-16 14:25:05 -03:00
parent b45ed9b96b
commit a7a7066fe0
No known key found for this signature in database
2 changed files with 4 additions and 0 deletions

View File

@ -94,6 +94,7 @@ if exists('g:colors_name') && (g:colors_name == 'onedark'
endif
" Misc
set laststatus=3
let g:airline#extensions#tabline#enabled = v:true
let g:airline#extensions#tabline#buffer_min_count = 2
let g:airline_mode_map = {
@ -108,6 +109,7 @@ let g:airline_mode_map = {
\ 's': 'S',
\ }
let g:airline#extensions#tagbar#flags = 'f' " Requires majutsushi/tagbar plugin
let g:airline#extensions#nvimlsp#show_line_numbers = v:false
if exists('g:colors_name') && g:colors_name == 'vscode'
let g:airline_theme = 'codedark' " vscode.nvim doesn't provide one
endif

View File

@ -102,4 +102,6 @@ let g:airline_mode_map = {
\ 's': 'S',
\ }
let g:airline#extensions#tagbar#flags = 'f' " Requires majutsushi/tagbar plugin
let g:airline#extensions#coc#stl_format_err = '%C'
let g:airline#extensions#coc#stl_format_warn = '%C'
let g:DevIconsEnableDistro = v:false