aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/dircolors.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-10-28 14:09:49 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-10-28 14:18:21 +0100
commit17a5dde8d366cc2ef6a78d6af7559e9d87f8286b (patch)
tree4ada9e0c93e9fbebac100308764c310410c12821 /runtime/syntax/dircolors.vim
parent733b4ce0339f2fdcdb0db67717fc090dcfecf250 (diff)
downloadrneovim-17a5dde8d366cc2ef6a78d6af7559e9d87f8286b.tar.gz
rneovim-17a5dde8d366cc2ef6a78d6af7559e9d87f8286b.tar.bz2
rneovim-17a5dde8d366cc2ef6a78d6af7559e9d87f8286b.zip
vim-patch:22f1d0e35eb0
Updated runtime files. Add Serbian translations and spell checking. https://github.com/vim/vim/commit/22f1d0e35eb0e503c2dc7813a973c7e6ca1b7dde
Diffstat (limited to 'runtime/syntax/dircolors.vim')
-rw-r--r--runtime/syntax/dircolors.vim8
1 files changed, 7 insertions, 1 deletions
diff --git a/runtime/syntax/dircolors.vim b/runtime/syntax/dircolors.vim
index 3d7f63dc55..74a7068488 100644
--- a/runtime/syntax/dircolors.vim
+++ b/runtime/syntax/dircolors.vim
@@ -2,7 +2,7 @@
" Language: dircolors(1) input file
" Maintainer: Jan Larres <jan@majutsushi.net>
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
-" Latest Revision: 2013-08-17
+" Latest Revision: 2018-02-19
if exists("b:current_syntax")
finish
@@ -135,6 +135,12 @@ function! s:preview_color(linenr) abort
elseif item >= 40 && item <= 47
" ANSI SGR background color
let hi_str .= s:get_hi_str(item - 40, 'bg')
+ elseif item >= 90 && item <= 97
+ " ANSI SGR+8 foreground color (xterm 16-color support)
+ let hi_str .= s:get_hi_str(item - 82, 'fg')
+ elseif item >= 100 && item <= 107
+ " ANSI SGR+8 background color (xterm 16-color support)
+ let hi_str .= s:get_hi_str(item - 92, 'bg')
elseif item == 38
" Foreground for terminals with 88/256 color support
let color = s:get_256color(colors)