Mercurial > vim
comparison runtime/ftplugin/rhelp.vim @ 6051:0efec12f52ac
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 10 Jul 2014 22:01:47 +0200 |
parents | |
children | da01d5da2cfa |
comparison
equal
deleted
inserted
replaced
6050:f5c7483cbbb4 | 6051:0efec12f52ac |
---|---|
1 " Vim filetype plugin file | |
2 " Language: R help file | |
3 " Maintainer: Jakson Alves de Aquino <jalvesaq@gmail.com> | |
4 " Last Change: Wed Jul 09, 2014 06:23PM | |
5 | |
6 " Only do this when not yet done for this buffer | |
7 if exists("b:did_ftplugin") | |
8 finish | |
9 endif | |
10 | |
11 " Don't load another plugin for this buffer | |
12 let b:did_ftplugin = 1 | |
13 | |
14 let s:cpo_save = &cpo | |
15 set cpo&vim | |
16 | |
17 setlocal iskeyword=@,48-57,_,. | |
18 | |
19 if has("gui_win32") && !exists("b:browsefilter") | |
20 let b:browsefilter = "R Source Files (*.R *.Rnw *.Rd *.Rmd *.Rrst)\t*.R;*.Rnw;*.Rd;*.Rmd;*.Rrst\n" . | |
21 \ "All Files (*.*)\t*.*\n" | |
22 endif | |
23 | |
24 let b:undo_ftplugin = "setl isk< | unlet! b:browsefilter" | |
25 | |
26 let &cpo = s:cpo_save | |
27 unlet s:cpo_save | |
28 | |
29 " vim: sw=2 |