summaryrefslogtreecommitdiffstats
path: root/ftplugin/rmd.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/rmd.vim')
-rw-r--r--ftplugin/rmd.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ftplugin/rmd.vim b/ftplugin/rmd.vim
index c2fe0c2b..c890ce5f 100644
--- a/ftplugin/rmd.vim
+++ b/ftplugin/rmd.vim
@@ -6,7 +6,7 @@ endif
" Language: R Markdown file
" Maintainer: Jakson Alves de Aquino <jalvesaq@gmail.com>
" Homepage: https://github.com/jalvesaq/R-Vim-runtime
-" Last Change: Sun Jul 22, 2018 06:51PM
+" Last Change: Sat Aug 15, 2020 12:03PM
" Original work by Alex Zvoleff (adjusted from R help for rmd by Michel Kuhlmann)
" Only do this when not yet done for this buffer
@@ -50,7 +50,7 @@ runtime ftplugin/pandoc.vim
" Don't load another plugin for this buffer
let b:did_ftplugin = 1
-if has("gui_win32") && !exists("b:browsefilter")
+if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
let b:browsefilter = "R Source Files (*.R *.Rnw *.Rd *.Rmd *.Rrst)\t*.R;*.Rnw;*.Rd;*.Rmd;*.Rrst\n" .
\ "All Files (*.*)\t*.*\n"
endif