vim-fern-git-status icon indicating copy to clipboard operation
vim-fern-git-status copied to clipboard

Colouring when first opening neovim

Open ghost opened this issue 4 years ago • 1 comments

Obviously a low priority bug, but when opening the current directory in neovim using the terminal (e.g., using the command nvim .), colouring for git-status doesn't appear.
If opening fern after first opening neovim (eg. :Fern . or :e .), colouring is present.

The problem can be reproduced on neovim v0.5.0 with the below vimrc.

if exists('+compatible') && &compatible
  set nocompatible
endif

" Disable Vim's native pack feature
set packpath=

" Clone https://github.com/lambdalisue/fern.vim in somewhere
" and specify that directory to the below
" set runtimepath^=~/ghq/github.com/lambdalisue/fern.vim

filetype plugin indent on
syntax on
"----------------------------------------------------------------

" Add extra settings here to reproduce the issue...
call plug#begin('~/.vim/plugged')
    Plug 'lambdalisue/fern.vim'
    Plug 'lambdalisue/fern-hijack.vim'
    Plug 'lambdalisue/fern-git-status.vim'
call plug#end()
"----------------------------------------------------------------
echomsg "Custom minimal vimrc has loaded"

Thank you for the plugin!

ghost avatar Jun 01 '21 21:06 ghost

Not sure but the following lines should be the last

filetype plugin indent on
syntax on

lambdalisue avatar Jul 15 '21 01:07 lambdalisue