http://qs1969.pair.com?node_id=270076


in reply to Vim for PerlMonks nodes

Everything works for me except that text between code tags does not have perl syntax highlighting. Yes, I did remove the spaces. Yes, I do have the perl syntax file (':set syntax=perl' gives me my lovely perl highlights). Version information follows:

VIM - Vi IMproved 6.1 (2002 Mar 24, compiled Dec 23 2002 17:01:37) Included patches: 1, 3-15, 17-18, 20-22, 24-34, 36-43, 45-49, 51-72, 74-75, 77-83, 85-87, 89-92, 94-99, 101-118, 120-146, 150, 152-153, 157-183, 185-189, 191-195, 197, 200-201, 203-227, 231-239, 241-242, 244-252, 254-258, 260-265 Compiled by <bugzilla@redhat.com> Huge version without GUI. Features included (+) or not (-): +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent -clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments +cryptv +cscope +dialog_con +diff +digraphs -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path +find_in_path +folding -footer +fork() +gettext -hangul_input +iconv +insert_expand +jumplist +keymap +langmap +libcall +linebreak +lispindent +listcmds +localmap +menu +mksession +modify_fname +mouse -mouseshape +mouse_dec +mouse_gpm -mouse_jsbterm +mouse_netterm +mouse_xterm +multi_byte +multi_lang -osfiletype +path_extra +perl +postscript +printer +python +quickfix +rightleft -ruby +scrollbind +signs +smartindent -sniff +statusline -sun_workshop +syntax +tag_binary +tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects +title -toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup -X11 -xfontset -xim -xterm_clipboard -xterm_save system vimrc file: "/usr/share/vim/vim61/macros/vimrc" user vimrc file: "$HOME/.vimrc" user exrc file: "$HOME/.exrc" fall-back for $VIM: "/usr/share/vim" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -march=i386 -mcpu=i686 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strength-reduce -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -I/usr/include/python2.2


If the above content is missing any vital points or you feel that any of the information is misleading, incorrect or irrelevant, please feel free to downvote the post. At the same time, please reply to this node or /msg me to inform me as to what is wrong with the post, so that I may update the node to the best of my ability.

Replies are listed 'Best First'.
Re: Re: Vim for PerlMonks nodes
by Anonymous Monk on Jun 30, 2003 at 04:57 UTC

    I had the same problem, and I found a workaround.

    Put the "add Perl extension" stuff in html.vim directly and you'll get the syntax working for Perl as well.

    I have no idea why it works, but it does!

    HTH

    Paul