私が知る限り、それはできません。 :h sign-define
を見てください:
:sign define {name} {argument}...
Define a new sign or set attributes for an existing sign.
The {name} can either be a number (all digits) or a name
starting with a non-digit. Leading digits are ignored, thus
"0012", "012" and "12" are considered the same name.
About 120 different signs can be defined.
Accepted arguments:
icon={bitmap}
Define the file name where the bitmap can be found. Should be
a full path. The bitmap should fit in the place of two
characters. This is not checked. If the bitmap is too big it
will cause redraw problems. Only GTK 2 can scale the bitmap
to fit the space available.
toolkit supports ~
GTK 1 pixmap (.xpm)
GTK 2 many
Motif pixmap (.xpm)
Win32 .bmp, .ico, .cur
pixmap (.xpm) |+xpm_w32|
linehl={group}
Highlighting group used for the whole line the sign is placed
in. Most useful is defining a background color.
text={text} *E239*
Define the text that is displayed when there is no icon or the
GUI is not being used. Only printable characters are allowed
and they must occupy one or two display cells.
texthl={group}
Highlighting group used for the text item.
それはあなたのテキストの背景色と線の背景色を区別するためにストレートフォワードな方法を提供していません - 実際には、あなただけのlinehl
パラメータを設定することができます。
多分、あなたが望むことを行うためのハッピーな方法があります。もう一つの興味深いアイデアは、カーソルがセクションを移動した後ままハイライトでvim.wikia.com (link)に説明されてhttps://sunaku.github.io/vim-256color-bce.html
:私はあなたが役に立つかもしれません。このリンクにつまずいてきました。これは、次のコマンドを使用することを提案している:あなたは:sign place
から取得し、私は上記の投稿、カスタムハイライト方式とサインを交換する情報とそれを混ぜるかもしれない
:nnoremap <silent> <Leader>l ml:execute 'match Search /\%'.line('.').'l/'<CR>
この方法です。それはしかし、いくつかのスクリプトが必要です。
Syntasticは既にエラーを強調表示できますが、何をもっとお望みですか? – romainl
Syntasticは、(1)関係するチェッカーが列番号に関する十分な情報を提供し、(2)前記情報を使用するコードが記述されている場合、デフォルトでエラーと警告を強調表示します。これは記号とは関係ありません。また、強調表示グループ 'SyntasticErrorLine'と' SyntasticWarningLine'を再定義して、行全体を強調表示することもできます。これは、実際には標識に関連し、通常の強調表示を無効にします。両方とも同時に働くことはできません。 – lcd047