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

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

Expand Messages
  • Bram Moolenaar
    ... Sure. -- The problem with political jokes is that they get elected. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net ///
    Message 1 of 2 , Apr 2 6:36 AM
    • 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 ///
    Your message has been successfully submitted and would be delivered to recipients shortly.