Skip to content

Commit

Permalink
vim: use modified papercolor theme for neovim > 0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
crash5 committed Nov 26, 2024
1 parent e3b8d07 commit 3db76f7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions vim/pack/bundle/opt/papercolor-theme/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 @@ -2344,7 +2344,12 @@ command! -nargs=0 PaperColor :call g:PaperColor()

" =============================== MAIN ========================================

"hi clear
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

0 comments on commit 3db76f7

Please sign in to comment.