Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colouring when first opening neovim #20

Open
ghost opened this issue Jun 1, 2021 · 1 comment
Open

Colouring when first opening neovim #20

ghost opened this issue Jun 1, 2021 · 1 comment
Labels
invalid This doesn't seem right question Further information is requested

Comments

@ghost
Copy link

ghost commented Jun 1, 2021

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!

@lambdalisue
Copy link
Owner

Not sure but the following lines should be the last

filetype plugin indent on
syntax on

@lambdalisue lambdalisue added invalid This doesn't seem right question Further information is requested labels Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant