Gvim - Erro de números de linha relativos (erro de renderização de gráficos)

0

Não tenho certeza se há um bug no código de renderização do Gvim ou se há algo no meu .vimrc / .gvimrc que causou um problema de processamento.

Comopodeservistonaimagemacima,háumalinharosa-ishpróximaaalgunsdosnúmerosdelinha.

Aquiestáoconteúdodomeuvimrc:

colorschemeelflordsyntaxenablesettabstop=4setshiftwidth=4setsofttabstop=4setexpandtabsetnumbersetshowcmdsetcursorlinefiletypeindentonsetshowmatchsetincsearchsethlsearchsetautoindentsetnocompatiblesettags=tags;setrulersetpath+=**setwildmenusetnumberrelativenumberaugroupnumbertoggleautocmd!autocmdBufEnter,FocusGained,InsertLeave*setrelativenumberautocmdBufLeave,FocusLost,InsertEnter*setnorelativenumberaugroupEND

Aquiestáoconteúdodomeugvimrc:

setguifont=Monospace\8setguioptions-=T" Blueshift color scheme
" by Jan Zwiener, mail: [email protected]
" Based upon the pyte color scheme by Henning Hasemann
"
" 2010/11/16: Version 1.0
"

set background=light

hi clear
if exists("syntax_on")
  syntax reset
endif

let colors_name = "blueshift"

" Taglist colors
hi MyTagListFileName    guifg=black   guibg=#c0d0e0
hi MyTagListTagName     guifg=black   guibg=#ffbc29

if version >= 700
  hi CursorLine     guibg=#f6f6f6
  hi CursorColumn   guibg=#c0d0e0 "#f6f6f6
  hi MatchParen     guifg=black     guibg=#dfdfdf

  hi TabLine        guifg=black     guibg=#b0b8c0
  hi TabLineFill    guifg=#9098a0
  hi TabLineSel     guifg=black     guibg=#f0f0f0 gui=bold

  hi Pmenu          guifg=white     guibg=#808080
  hi PmenuSel       guifg=black     guibg=#ffbc29
endif

hi Title        guifg=#202020   gui=none
hi Underlined   guifg=#202020   gui=underline

hi Normal       guifg=black     guibg=white
hi ModeMsg      guifg=black     guibg=white
highlight Cursor       guifg=#f0f0f0   guibg=#101010
highlight LineNr    guifg=#ffffff    guibg=steelblue

" new for newer versions of vim/gvim
highlight CursorLineNr gui=bold guifg=DarkRed guibg=#c0d0e0

hi Visual       guifg=white     guibg=#5381bc
hi WildMenu     guifg=black     guibg=#ffbc29
hi IncSearch    guibg=black     guifg=#ffbc29
hi Question     guifg=black     guibg=#ffbc29

hi StatusLine   guifg=white     guibg=#8090a0 gui=bold
hi StatusLineNC guifg=#708090   guibg=#ced5db gui=none
hi VertSplit    guifg=#a0b0c0   guibg=#a0b0c0 gui=none

hi NonText      guifg=#bebebe   guibg=#f2f2f2
hi Comment      guifg=#008000   gui=italic
hi Folded       guifg=#708090   guibg=#c0d0e0
hi Folded       guifg=#708090   guibg=#c0d0e0
hi FoldColumn   guifg=#708090   guibg=#c0d0e0

hi Constant     guifg=black
hi Number       guifg=black
hi Float        guifg=black
hi Boolean      guifg=#0048ff
hi String       guifg=#4070a0   gui=none

hi Statement    guifg=#0048ff   gui=none
hi Type         guifg=#0048ff   gui=none
hi Structure    guifg=#0048ff   gui=none
hi Identifier   guifg=#0048ff   gui=none
hi Function     guifg=#0048ff   gui=none
hi Repeat       guifg=#0048ff   gui=bold
hi Conditional  guifg=#0048ff   gui=bold
hi Operator     guifg=black

hi PreProc      guifg=#1060a0   gui=none
hi Define       guifg=#1060a0   gui=bold
hi Include      guifg=#1060a0   gui=none

hi Error        guifg=red       guibg=white     gui=bold,underline
hi Todo         guifg=white     guibg=#1060a0   gui=bold
hi SpecialKey   guifg=#1060a0   guibg=white
hi Special      guifg=black     guibg=white

" Diff
hi DiffChange   guifg=NONE      guibg=#e0e0e0   gui=bold
hi DiffText     guifg=NONE      guibg=#f0c8c8   gui=bold
hi DiffAdd      guifg=NONE      guibg=#c0e0d0   gui=bold
hi DiffDelete   guifg=NONE      guibg=#f0e0b0   gui=bold
    
por user3728501 12.01.2018 / 14:21

1 resposta

0

O mais provável é um erro no seu .vimrc .

No Windows, uso o GVIM sem nenhuma configuração extra. A coloração, a numeração relativa e a numeração absoluta funcionam perfeitamente

    
por 14.04.2018 / 03:44

Tags