Mercurial > vim
comparison runtime/ftplugin/falcon.vim @ 3224:8b8ef1fed009
Update runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 14 Dec 2011 21:17:39 +0100 |
parents | fae782ef63dd |
children | 2cfb68fa26cd |
comparison
equal
deleted
inserted
replaced
3223:576648218cb5 | 3224:8b8ef1fed009 |
---|---|
1 " Vim filetype plugin file | 1 " Vim filetype plugin file |
2 " Language: Falcon | 2 " Language: Falcon |
3 " Author: Steven Oliver <oliver.steven@gmail.com> | 3 " Author: Steven Oliver <oliver.steven@gmail.com> |
4 " Copyright: Copyright (c) 2009, 2010 Steven Oliver | 4 " Copyright: Copyright (c) 2009, 2010, 2011 Steven Oliver |
5 " License: You may redistribute this under the same terms as Vim itself | 5 " License: You may redistribute this under the same terms as Vim itself |
6 " -------------------------------------------------------------------------- | 6 " -------------------------------------------------------------------------- |
7 " GetLatestVimScripts: 2762 1 :AutoInstall: falcon.vim | 7 " GetLatestVimScripts: 2762 1 :AutoInstall: falcon.vim |
8 | 8 |
9 " Only do this when not done yet for this buffer | 9 " Only do this when not done yet for this buffer |
14 | 14 |
15 let s:cpo_save = &cpo | 15 let s:cpo_save = &cpo |
16 set cpo&vim | 16 set cpo&vim |
17 | 17 |
18 setlocal tabstop=4 shiftwidth=4 expandtab fileencoding=utf-8 | 18 setlocal tabstop=4 shiftwidth=4 expandtab fileencoding=utf-8 |
19 setlocal suffixesadd=.fal | 19 setlocal suffixesadd=.fal,.ftd |
20 | 20 |
21 " Matchit support | 21 " Matchit support |
22 if exists("loaded_matchit") && !exists("b:match_words") | 22 if exists("loaded_matchit") && !exists("b:match_words") |
23 let b:match_ignorecase = 0 | 23 let b:match_ignorecase = 0 |
24 | 24 |
34 " Set comments to include dashed lines | 34 " Set comments to include dashed lines |
35 setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// | 35 setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// |
36 | 36 |
37 " Windows allows you to filter the open file dialog | 37 " Windows allows you to filter the open file dialog |
38 if has("gui_win32") && !exists("b:browsefilter") | 38 if has("gui_win32") && !exists("b:browsefilter") |
39 let b:browsefilter = "Falcon Source Files (*.fal)\t*.fal\n" . | 39 let b:browsefilter = "Falcon Source Files (*.fal *.ftd)\t*.fal;*.ftd\n" . |
40 \ "All Files (*.*)\t*.*\n" | 40 \ "All Files (*.*)\t*.*\n" |
41 endif | 41 endif |
42 | 42 |
43 let &cpo = s:cpo_save | |
44 unlet s:cpo_save | |
45 | |
43 " vim: set sw=4 sts=4 et tw=80 : | 46 " vim: set sw=4 sts=4 et tw=80 : |