Mercurial > vim
comparison runtime/ftplugin/falcon.vim @ 4869:a5352e73dc00
Update runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 12 Jun 2013 21:29:15 +0200 |
parents | 2cfb68fa26cd |
children | 17c4178f26ea |
comparison
equal
deleted
inserted
replaced
4868:f2f15e432db6 | 4869:a5352e73dc00 |
---|---|
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, 2011, 2012 Steven Oliver | 4 " Copyright: Copyright (c) 2009-2013 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 | |
8 | 7 |
9 " Only do this when not done yet for this buffer | 8 " Only do this when not done yet for this buffer |
10 if (exists("b:did_ftplugin")) | 9 if (exists("b:did_ftplugin")) |
11 finish | 10 finish |
12 endif | 11 endif |
13 let b:did_ftplugin = 1 | 12 let b:did_ftplugin = 1 |
14 | 13 |
15 let s:cpo_save = &cpo | 14 let s:cpo_save = &cpo |
16 set cpo&vim | 15 set cpo&vim |
17 | 16 |
18 setlocal tabstop=4 shiftwidth=4 expandtab fileencoding=utf-8 | 17 setlocal softtabstop=4 shiftwidth=4 fileencoding=utf-8 |
19 setlocal suffixesadd=.fal,.ftd | 18 setlocal suffixesadd=.fal,.ftd |
20 | 19 |
21 " Matchit support | 20 " Matchit support |
22 if exists("loaded_matchit") && !exists("b:match_words") | 21 if exists("loaded_matchit") && !exists("b:match_words") |
23 let b:match_ignorecase = 0 | 22 let b:match_ignorecase = 0 |
29 \ ':' . | 28 \ ':' . |
30 \ '\<end\>' . | 29 \ '\<end\>' . |
31 \ ',{:},\[:\],(:)' | 30 \ ',{:},\[:\],(:)' |
32 endif | 31 endif |
33 | 32 |
34 " Set comments to include dashed lines | |
35 setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// | 33 setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:// |
36 | 34 |
37 " Windows allows you to filter the open file dialog | 35 " Windows allows you to filter the open file dialog |
38 if has("gui_win32") && !exists("b:browsefilter") | 36 if has("gui_win32") && !exists("b:browsefilter") |
39 let b:browsefilter = "Falcon Source Files (*.fal *.ftd)\t*.fal;*.ftd\n" . | 37 let b:browsefilter = "Falcon Source Files (*.fal *.ftd)\t*.fal;*.ftd\n" . |