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

fix breaking default colorscheme changes introduced by nvim v0.10.x #211

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion colors/PaperColor.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1751,7 +1751,7 @@ fun! s:apply_syntax_highlightings()
" Haskell Highlighting
if s:langOpt_haskell__no_bold_types == 1
exec 'hi haskellType' . s:fg_aqua
else
else
exec 'hi haskellType' . s:fg_aqua . s:ft_bold
endif
exec 'hi haskellIdentifier' . s:fg_orange . s:ft_bold
Expand Down Expand Up @@ -2345,6 +2345,11 @@ command! -nargs=0 PaperColor :call g:PaperColor()
" =============================== MAIN ========================================

hi clear
if has("nvim-0.10")
" plugin is written with assumptions on the legacy default vim colorscheme
source $VIMRUNTIME/colors/vim.lua
endif

syntax reset
let g:colors_name = "PaperColor"

Expand Down