Mercurial > vim
view runtime/colors/torte.vim @ 10835:c9da7f9137af v8.0.0307
patch 8.0.0307: asan detects a memory error when EXITFREE is defined
commit https://github.com/vim/vim/commit/955f198fc546cc30a34361932d3f454a61df0efa
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 5 15:10:51 2017 +0100
patch 8.0.0307: asan detects a memory error when EXITFREE is defined
Problem: Asan detects a memory error when EXITFREE is defined. (Dominique
Pelle)
Solution: In getvcol() check for ml_get_buf() returning an empty string.
Also skip adjusting the scroll position. Set "exiting" in
mch_exit() for all systems.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 05 Feb 2017 15:15:04 +0100 |
parents | e63691e7c504 |
children | 82244cfc4694 |
line wrap: on
line source
" Vim color file " Maintainer: Thorsten Maerz <info@netztorte.de> " Last Change: 2006 Dec 07 " grey on black " optimized for TFT panels set background=dark hi clear if exists("syntax_on") syntax reset endif "colorscheme default let g:colors_name = "torte" " hardcoded colors : " GUI Comment : #80a0ff = Light blue " GUI highlight Normal guifg=Grey80 guibg=Black highlight Search guifg=Black guibg=Red gui=bold highlight Visual guifg=#404040 gui=bold highlight Cursor guifg=Black guibg=Green gui=bold highlight Special guifg=Orange highlight Comment guifg=#80a0ff highlight StatusLine guifg=blue guibg=white highlight Statement guifg=Yellow gui=NONE highlight Type gui=NONE " Console highlight Normal ctermfg=LightGrey ctermbg=Black highlight Search ctermfg=Black ctermbg=Red cterm=NONE highlight Visual cterm=reverse highlight Cursor ctermfg=Black ctermbg=Green cterm=bold highlight Special ctermfg=Brown highlight Comment ctermfg=Blue highlight StatusLine ctermfg=blue ctermbg=white highlight Statement ctermfg=Yellow cterm=NONE highlight Type cterm=NONE " only for vim 5 if has("unix") if v:version<600 highlight Normal ctermfg=Grey ctermbg=Black cterm=NONE guifg=Grey80 guibg=Black gui=NONE highlight Search ctermfg=Black ctermbg=Red cterm=bold guifg=Black guibg=Red gui=bold highlight Visual ctermfg=Black ctermbg=yellow cterm=bold guifg=#404040 gui=bold highlight Special ctermfg=LightBlue cterm=NONE guifg=LightBlue gui=NONE highlight Comment ctermfg=Cyan cterm=NONE guifg=LightBlue gui=NONE endif endif