diff options
Diffstat (limited to 'ftplugin/rrst.vim')
-rw-r--r-- | ftplugin/rrst.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ftplugin/rrst.vim b/ftplugin/rrst.vim index 68661a65..25ca0dc7 100644 --- a/ftplugin/rrst.vim +++ b/ftplugin/rrst.vim @@ -6,7 +6,7 @@ endif " Language: reStructuredText documentation format with R code " Maintainer: Jakson Alves de Aquino <jalvesaq@gmail.com> " Homepage: https://github.com/jalvesaq/R-Vim-runtime -" Last Change: Wed Nov 01, 2017 10:47PM +" Last Change: Sat Aug 15, 2020 12:02PM " Original work by Alex Zvoleff " Only do this when not yet done for this buffer @@ -41,7 +41,7 @@ if !exists("g:rrst_dynamic_comments") || (exists("g:rrst_dynamic_comments") && g setlocal formatexpr=FormatRrst() endif -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 |