summaryrefslogtreecommitdiffstats
path: root/ftplugin/rnoweb.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/rnoweb.vim')
-rw-r--r--ftplugin/rnoweb.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ftplugin/rnoweb.vim b/ftplugin/rnoweb.vim
index 13b68ef7..ab6389f9 100644
--- a/ftplugin/rnoweb.vim
+++ b/ftplugin/rnoweb.vim
@@ -6,7 +6,7 @@ endif
" Language: Rnoweb
" Maintainer: Jakson Alves de Aquino <jalvesaq@gmail.com>
" Homepage: https://github.com/jalvesaq/R-Vim-runtime
-" Last Change: Tue Apr 07, 2015 04:37PM
+" Last Change: Sat Aug 15, 2020 12:02PM
" Only do this when not yet done for this buffer
if exists("b:did_ftplugin")
@@ -28,7 +28,7 @@ setlocal iskeyword=@,48-57,_,.
setlocal suffixesadd=.bib,.tex
setlocal comments=b:%,b:#,b:##,b:###,b:#'
-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