Bug#347801: vim-runtime: syntax highlighting for slrnrc doesn't know a few function names

Frank Terbeck frank.terbeck at rwth-aachen.de
Thu Jan 12 19:18:00 UTC 2006


Package: vim-runtime
Version: 1:6.4-006+1
Severity: minor
Tags: patch

When I was reviewing my slrn configurationfile, I realized that vim did
not recognize all functions bindable with setkey.

The unknown functions were:
readline functions:
complete, cycle, delbol, delbow

article function:
toggle_sort

The fix is trivial:

--- slrnrc.vim.old      2006-01-12 19:18:30.000000000 +0100
+++ slrnrc.vim  2006-01-12 19:15:47.000000000 +0100
@@ -119,7 +119,7 @@
 syn keyword slrnrcFunArt       contained help hide_article locate_article mark_spot next next_high_score next_same_subject pipe post post_postponed previous print quit redraw
 syn keyword slrnrcFunArt       contained repeat_last_key reply request save show_spoilers shrink_article_window skip_quotes skip_to_next_group skip_to_previous_group
 syn keyword slrnrcFunArt       contained subject_search_backward subject_search_forward supersede suspend tag_header toggle_collapse_threads toggle_header_formats
-syn keyword slrnrcFunArt       contained toggle_header_tag toggle_headers toggle_pgpsignature toggle_quotes toggle_rot13 toggle_signature toggle_verbatim_marks
+syn keyword slrnrcFunArt       contained toggle_header_tag toggle_headers toggle_pgpsignature toggle_quotes toggle_rot13 toggle_signature toggle_verbatim_marks toggle_sort
 syn keyword slrnrcFunArt       contained toggle_verbatim_text uncatchup uncatchup_all undelete untag_headers view_scores wrap_article zoom_article_window
 
 " Listed for removal
@@ -136,7 +136,7 @@
 syn keyword slrnrcFunGroup     contained down group_bob group_eob pagedown pageup toggle_group_display uncatch_up up
 
 " Functions in readline mode (actually from slang's slrline.c)
-syn keyword slrnrcFunRead      contained bdel bol del deleol down enter eol left quoted_insert right self_insert trim up
+syn keyword slrnrcFunRead      contained bdel bol complete cycle del delbol delbow deleol down enter eol left quoted_insert right self_insert trim up
 
 " Binding keys
 syn keyword slrnrcSetkeyObj    contained article group readline

Regards, Frank

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.2
Locale: LANG=C, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)

vim-runtime depends on no packages.

Versions of packages vim-runtime recommends:
ii  vim                          1:6.4-006+1 Vi IMproved - enhanced vi editor

-- no debconf information





More information about the pkg-vim-maintainers mailing list