Made light line always visible.

This commit is contained in:
Warwick 2022-09-28 15:23:59 +01:00
parent 41c474dc85
commit 4ac5bd39ad

View file

@ -48,6 +48,11 @@ filetype plugin indent on " required
" see :h vundle for more details or wiki for FAQ " see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line " Put your non-Plugin stuff after this line
"Always show lightline
set laststatus=2
set showtabline=2
set noshowmode
" Gruvbox colours " Gruvbox colours
let g:gruvbox_contrast_dark='hard' let g:gruvbox_contrast_dark='hard'
let g:gruvbox_contrast_light='hard' let g:gruvbox_contrast_light='hard'
@ -67,11 +72,6 @@ inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
inoremap <expr> <cr> pumvisible() ? asyncomplete#close_popup() : "\<cr>" inoremap <expr> <cr> pumvisible() ? asyncomplete#close_popup() : "\<cr>"
" clangd vim lsp " clangd vim lsp
let g:lsp_settings = {
\ 'clangd': {'cmd': ['clangd-8']},
\ 'efm-langserver': {'disabled': v:false}
\}
function! s:on_lsp_buffer_enabled() abort function! s:on_lsp_buffer_enabled() abort
setlocal omnifunc=lsp#complete setlocal omnifunc=lsp#complete
setlocal signcolumn=yes setlocal signcolumn=yes