sponsor Vim development Vim logo Vim Book Ad

plist.vim : Old-Style ASCII Property List

 script karma  Rating 6/9, Downloaded by 1419  Comments, bugs, improvements  Vim wiki

created by
Matthew Jimenez
 
script type
syntax
 
description
Property Lists were a configuration file format commonly used in the OpenStep framework. Currently, Apple has updated Property Lists to be XML-based, but Cocoa still supports the old-style Property Lists as well.

Property Lists are also available to the GNUStep libraries.

More information about property lists may be found at:
http://developer.apple.com/documentation/Cocoa/Conceptual/PropertyLists/Concepts/OldStylePListsConcept.html

All suggestions to improve this syntax file are welcome.
 
install details
Add to your syntax directory and run ":setf plist" when you have a property list file open.

To autodetect Property Lists with the extension .plist add the following to your vimrc:

augroup filetypedetect
  au! BufNewFile,BufRead *.plist setf plist
augroup END
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
plist.vim 1.3 2005-03-23 6.0 Matthew Jimenez Comment and comment errors should work properly in dictionaries and arrays
plist.vim 1.2 2005-02-28 6.0 Matthew Jimenez Array are allowed to be outside of dictionaries.
Key-Value pairs in dictionaries can have unquoted numbers as value.
plist.vim 1.1 2005-02-27 6.0 Matthew Jimenez Dictionaries are acceptable values for keys in other dictionaries.
plist.vim 1.0 2005-02-27 6.0 Matthew Jimenez Initial upload
ip used for rating: 3.137.192.3

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github