Mercurial > vim
comparison runtime/ftplugin/javascript.vim @ 1623:53938adac247
updated for version 7.2a
author | vimboss |
---|---|
date | Tue, 24 Jun 2008 22:14:38 +0000 |
parents | 96cd8222a819 |
children | bbca88cd13d5 |
comparison
equal
deleted
inserted
replaced
1622:149d8b46404c | 1623:53938adac247 |
---|---|
1 " Vim filetype plugin file | 1 " Vim filetype plugin file |
2 " Language: Javascript | 2 " Language: Javascript |
3 " Maintainer: Doug Kearns <dougkearns@gmail.com> | 3 " Maintainer: Doug Kearns <dougkearns@gmail.com> |
4 " Last Change: 2007 Feb 21 | 4 " Last Change: 2008 Jun 15 |
5 " URL: http://gus.gscit.monash.edu.au/~djkea2/vim/ftplugin/javascript.vim | 5 " URL: http://gus.gscit.monash.edu.au/~djkea2/vim/ftplugin/javascript.vim |
6 | 6 |
7 if exists("b:did_ftplugin") | 7 if exists("b:did_ftplugin") |
8 finish | 8 finish |
9 endif | 9 endif |
26 | 26 |
27 setlocal commentstring=//%s | 27 setlocal commentstring=//%s |
28 | 28 |
29 " Change the :browse e filter to primarily show Java-related files. | 29 " Change the :browse e filter to primarily show Java-related files. |
30 if has("gui_win32") | 30 if has("gui_win32") |
31 let b:browsefilter="Javascript Files (*.js)\t*.js\n" | 31 let b:browsefilter="Javascript Files (*.js)\t*.js\n" . |
32 \ "All Files (*.*)\t*.*\n" | 32 \ "All Files (*.*)\t*.*\n" |
33 endif | 33 endif |
34 | 34 |
35 let b:undo_ftplugin = "setl fo< ofu< com< cms<" | 35 let b:undo_ftplugin = "setl fo< ofu< com< cms<" |
36 | 36 |