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

4272Re: Using filetype plugin for plist file

Expand Messages
  • listuser
    Jan 15, 2007
      Hello,

      thanks for the reply.


      > let SOURCEME=expand("/usr/local/etc/vim/plist.vim")
      > if filereadable(SOURCEME)
      > exe "source " . SOURCEME
      > endif

      I didn't need this part since my plugin ist stored in .vim/ftplugin

      >
      > " treat .plist as xml
      > au BufRead,BufNewFile *.plist set filetype=xml

      This helped.
      I just added
      "au BufRead,BufNewFile *.plist set filetype=plist"
      At the end of my .vimrc file.

      Thanks again
      Martin



      --
      VIM - Vi IMproved 7.0
      MacOS X (unix) version
      Included patches: 1-182
    • Show all 6 messages in this topic