Bug#322355: vim-common: syn keyword xmodmapKeySym XF86_ClearGrab

Sebastien Blondeel blondeel at clipper.ens.fr
Wed Aug 10 11:14:29 UTC 2005


Package: vim-common
Version: 1:6.3-071+1
Severity: normal

The command

-=-=-=
$ xmodmap us 
-=-=-=

then 

-=-=-=
$ xmodmap -pke | grep XF86
-=-=-=

yields, among other things:

-=-=-=
keycode  63 = KP_Multiply XF86_ClearGrab
-=-=-=

This keyword is not syntax-highlighted by vim.
Inspection of the file
/usr/share/vim/vim63/syntax/xmodmap.vim

shows the following line:

-=-=-=
syn keyword xmodmapKeySym XF_ClearGrab XF86_Switch_VT_1 [...]
                          ^^^
-=-=-=

I am not sure whether XF_ClearGrab is a valid keyword or not,
but XF86_ClearGrab should be added there (possibly replacing this typo).

System information:
===================
$ dpkg -S `realpath /usr/bin/X11/setxkbmap` /usr/share/vim/vim63/syntax/xmodmap.vim
xbase-clients: /usr/X11R6/bin/setxkbmap
vim-common: /usr/share/vim/vim63/syntax/xmodmap.vim

$ apt-show-versions | grep '\(xbase-clients\|vim-common\)'
vim-common/stable uptodate 1:6.3-071+1
xbase-clients/stable uptodate 4.3.0.dfsg.1-14




More information about the pkg-vim-maintainers mailing list