PrashanthaTP / dotfiles

My dotfiles (Windows system)
1 stars 0 forks source link

[theme] with gruvbox-material , git bash statusline is broken #3

Closed PrashanthaTP closed 3 years ago

PrashanthaTP commented 3 years ago

:commands overwrite the statusline from rightside

PrashanthaTP commented 3 years ago

try with

export TERM=xterm-256color
PrashanthaTP commented 3 years ago

Double status bar problem with

augroup GITCOMMIT_SETTINGS
    "https://vi.stackexchange.com/questions/4343/can-i-detect-whether-current-vim-instance-is-launched-by-git
    autocmd!
    autocmd FileType gitcommit silent :call Set_git_settings()
augroup END

1.

function Set_git_settings()
    colorscheme gruvbox
    "below line is important : gruvbox-material doesn't work when vim opened from git
    let g:lightline.colorscheme='gruvbox'
endfunction

GitCommitNvimStatusBar

2.

function Set_git_settings()
    "colorscheme gruvbox
    "below line is important : gruvbox-material doesn't work when vim opened from git
    let g:lightline.colorscheme='gruvbox'
endfunction

GitCommitNvimStatusBar_2

3.

function Set_git_settings()
    "colorscheme gruvbox
    let g:lightline.colorscheme='gruvbox_material'
endfunction

GitCommitNvimStatusBar_3