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

42692Re: filetype of /etc/grub.conf is not detected

Expand Messages
  • Bram Moolenaar
    Apr 2, 2006
    • 0 Attachment
      Yakov Lerner wrote:

      > On RedHat & Fedota linux, grub.conf is symlinked as follows:
      > /etc/grub.conf -> ../boot/grub/grub.conf
      >
      > File filetype.vim has this:
      > au BufNewFile,BufRead /boot/grub/menu.lst,/boot/grub/grub.conf setf=
      > grub
      >
      > As a result, filetype of /etc/grub.conf if not detected properly. Vim
      > does not set
      > filetype to 'grub' on file /etc/grub.conf.
      > Can this be fixed ?

      Sure.

      --
      The problem with political jokes is that they get elected.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ download, build and distribute -- http://www.A-A-P.org ///
      \\\ help me help AIDS victims -- http://www.ICCF.nl ///
    • Show all 2 messages in this topic