Loading ...
Sorry, an error occurred while loading the content.

87926Re: Re (OOPS): Unable to get syntax highlighting to work for root account

Expand Messages
  • Tony Mechelynck
    Mar 1, 2008
    • 0 Attachment
      YGirouard wrote:
      > Thanks Tony,
      > Not sure it applies to my issue though, as it's doing it for every filetype
      > (conf files, php files, perl, etc). As for the additional details you asked,
      > it was partially in the "Additional Info" section of my post but here goes
      > anyway... let me know if that helps:
      > I'm using Linux RedHat Fedora Core 7 on a virtual dedicated server. I only
      > have shell access (no gui).
      > The version output of vi echoes this (I put the whole thing anyway in
      > case...):
      > VIM - Vi IMproved 7.1 (2007 May 12, compiled Jan 9 2008 08:28:40)
      > Included patches: 1-211
      > Modified by <bugzilla@...>
      > Compiled by <bugzilla@...>
      > Small version without GUI. Features included (+) or not (-):
      > -arabic -autocmd -balloon_eval -browse +builtin_terms -byte_offset -cindent
      > -clientserver -clipboard -cmdline_compl +cmdline_hist -cmdline_info
      > -comments
      > -cryptv -cscope -cursorshape -dialog -diff -digraphs -dnd -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 -mouse_dec -mouse_gpm -mouse_jsbterm -mouse_netterm
      > -mouse_xterm +multi_byte -multi_lang -mzscheme -netbeans_intg -osfiletype
      > -path_extra -perl -printer -profile -python -quickfix -reltime -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 -xsmp -xterm_clipboard -xterm_save
      > system vimrc file: "/etc/virc"
      > 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 -g -pipe -Wall
      > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
      > --param=ssp-buffer-size=4 -m32 -
      > march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE
      > Linking: gcc -L/usr/local/lib -o vim -lselinux -lncurses -lacl

      This is a "small" version and it has -autocmd. As such, it has no support for
      filetypes, since that support requires several kinds of autocommands: for
      instance, $VIMRUNTIME/filetype.vim, which implements filetype detection, sets
      up a huge number of autocommands for the BufRead and BufNewFile events.

      Try invoking vim as vim, not as vi. Does it make a difference?

      Best regards,
      Give me a Plumber's friend the size of the Pittsburgh dome, and a place
      to stand, and I will drain the world.

      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
    • Show all 9 messages in this topic