Mercurial > vim
comparison runtime/ftplugin/rmd.vim @ 24520:5bda4653aced
Update runtime files
Commit: https://github.com/vim/vim/commit/11e3c5ba820325b69cb56f70e13c21d7b8808d33
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 21 18:09:37 2021 +0200
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 21 Apr 2021 18:15:04 +0200 |
parents | 0ecb909e3249 |
children | b2412874362f |
comparison
equal
deleted
inserted
replaced
24519:da748a66a65a | 24520:5bda4653aced |
---|---|
1 " Vim filetype plugin file | 1 " Vim filetype plugin file |
2 " Language: R Markdown file | 2 " Language: R Markdown file |
3 " Maintainer: Jakson Alves de Aquino <jalvesaq@gmail.com> | 3 " Maintainer: Jakson Alves de Aquino <jalvesaq@gmail.com> |
4 " Homepage: https://github.com/jalvesaq/R-Vim-runtime | 4 " Homepage: https://github.com/jalvesaq/R-Vim-runtime |
5 " Last Change: Sun Jul 22, 2018 06:51PM | 5 " Last Change: Sat Aug 15, 2020 12:03PM |
6 " Original work by Alex Zvoleff (adjusted from R help for rmd by Michel Kuhlmann) | 6 " Original work by Alex Zvoleff (adjusted from R help for rmd by Michel Kuhlmann) |
7 | 7 |
8 " Only do this when not yet done for this buffer | 8 " Only do this when not yet done for this buffer |
9 if exists("b:did_ftplugin") | 9 if exists("b:did_ftplugin") |
10 finish | 10 finish |
44 runtime ftplugin/pandoc.vim | 44 runtime ftplugin/pandoc.vim |
45 | 45 |
46 " Don't load another plugin for this buffer | 46 " Don't load another plugin for this buffer |
47 let b:did_ftplugin = 1 | 47 let b:did_ftplugin = 1 |
48 | 48 |
49 if has("gui_win32") && !exists("b:browsefilter") | 49 if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") |
50 let b:browsefilter = "R Source Files (*.R *.Rnw *.Rd *.Rmd *.Rrst)\t*.R;*.Rnw;*.Rd;*.Rmd;*.Rrst\n" . | 50 let b:browsefilter = "R Source Files (*.R *.Rnw *.Rd *.Rmd *.Rrst)\t*.R;*.Rnw;*.Rd;*.Rmd;*.Rrst\n" . |
51 \ "All Files (*.*)\t*.*\n" | 51 \ "All Files (*.*)\t*.*\n" |
52 endif | 52 endif |
53 | 53 |
54 if exists('b:undo_ftplugin') | 54 if exists('b:undo_ftplugin') |