runtime(r,rhelp,rmd,rnoweb,rrst): Update ftplugin, browsefilter labels (#14126)
Commit: https://github.com/vim/vim/commit/e93afc2e612647e79e1082096ffd6c61e01ac691 Author: dkearns <[email protected]> Date: Sun Mar 3 05:27:47 2024 +1100 runtime(r,rhelp,rmd,rnoweb,rrst): Update ftplugin, browsefilter labels (https://github.com/vim/vim/issues/14126) Use the standard format for browsefilter labels: "File Description (*.ext1, *.ext2, *.ext3)" Signed-off-by: Doug Kearns <[email protected]> Signed-off-by: Christian Brabandt <[email protected]> diff --git a/runtime/ftplugin/r.vim b/runtime/ftplugin/r.vim index b3ffc91ab..6b07744c4 100644 --- a/runtime/ftplugin/r.vim +++ b/runtime/ftplugin/r.vim @@ -1,11 +1,9 @@ " Vim filetype plugin file -" Language: R -" Maintainer: This runtime file is looking for a new maintainer. -" Former Maintainer: Jakson Alves de Aquino <[email protected]> -" Former Repository: https://github.com/jalvesaq/R-Vim-runtime -" Last Change: 2022 Apr 24 09:14AM -" 2024 Jan 14 by Vim Project (browsefilter) -" 2024 Feb 19 by Vim Project (announce adoption) +" Language: R +" Maintainer: This runtime file is looking for a new maintainer. +" Former Maintainer: Jakson Alves de Aquino <[email protected]> +" Former Repository: https://github.com/jalvesaq/R-Vim-runtime +" Last Change: 2024 Feb 28 by Vim Project " Only do this when not yet done for this buffer if exists("b:did_ftplugin") @@ -25,7 +23,7 @@ setlocal comments=:#',:###,:##,:# if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") let b:browsefilter = "R Source Files (*.R) *.R " . - \ "Files that include R (*.Rnw *.Rd *.Rmd *.Rrst *.qmd) *.Rnw;*.Rd;*.Rmd;*.Rrst;*.qmd " + \ "Files that include R (*.Rnw, *.Rd, *.Rmd, *.Rrst, *.qmd) *.Rnw;*.Rd;*.Rmd;*.Rrst;*.qmd " if has("win32") let b:browsefilter .= "All Files (*.*) * " else diff --git a/runtime/ftplugin/rhelp.vim b/runtime/ftplugin/rhelp.vim index 6086b440f..0fa1e5657 100644 --- a/runtime/ftplugin/rhelp.vim +++ b/runtime/ftplugin/rhelp.vim @@ -1,9 +1,9 @@ " Vim filetype plugin file -" Language: R help file -" Maintainer: Jakson Alves de Aquino <[email protected]> -" Homepage: https://github.com/jalvesaq/R-Vim-runtime -" Last Change: 2022 Apr 24 09:12AM -" 2024 Jan 14 by Vim Project (browsefilter) +" Language: R help file +" Maintainer: This runtime file is looking for a new maintainer. +" Former Maintainer: Jakson Alves de Aquino <[email protected]> +" Former Repository: https://github.com/jalvesaq/R-Vim-runtime +" Last Change: 2024 Feb 28 by Vim Project " Only do this when not yet done for this buffer if exists("b:did_ftplugin") @@ -19,7 +19,7 @@ set cpo&vim setlocal iskeyword=@,48-57,_,. if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") - let b:browsefilter = "R Source Files (*.R *.Rnw *.Rd *.Rmd *.Rrst *.qmd) *.R;*.Rnw;*.Rd;*.Rmd;*.Rrst;*.qmd " + let b:browsefilter = "R Source Files (*.R, *.Rnw, *.Rd, *.Rmd, *.Rrst, *.qmd) *.R;*.Rnw;*.Rd;*.Rmd;*.Rrst;*.qmd " if has("win32") let b:browsefilter .= "All Files (*.*) * " else diff --git a/runtime/ftplugin/rmd.vim b/runtime/ftplugin/rmd.vim index 74b920f19..a537017aa 100644 --- a/runtime/ftplugin/rmd.vim +++ b/runtime/ftplugin/rmd.vim @@ -1,9 +1,9 @@ " Vim filetype plugin file -" Language: R Markdown file -" Maintainer: Jakson Alves de Aquino <[email protected]> -" Homepage: https://github.com/jalvesaq/R-Vim-runtime -" Last Change: 2023 May 29 06:31AM -" 2024 Jan 14 by Vim Project (browsefilter) +" Language: R Markdown file +" Maintainer: This runtime file is looking for a new maintainer. +" Former Maintainer: Jakson Alves de Aquino <[email protected]> +" Former Repository: https://github.com/jalvesaq/R-Vim-runtime +" Last Change: 2024 Feb 28 by Vim Project " Original work by Alex Zvoleff (adjusted from R help for rmd by Michel Kuhlmann) " Only do this when not yet done for this buffer @@ -65,7 +65,7 @@ runtime ftplugin/pandoc.vim let b:did_ftplugin = 1 if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") - let b:browsefilter = "R Source Files (*.R *.Rnw *.Rd *.Rmd *.Rrst *.qmd) *.R;*.Rnw;*.Rd;*.Rmd;*.Rrst;*.qmd " + let b:browsefilter = "R Source Files (*.R, *.Rnw, *.Rd, *.Rmd, *.Rrst, *.qmd) *.R;*.Rnw;*.Rd;*.Rmd;*.Rrst;*.qmd " if has("win32") let b:browsefilter .= "All Files (*.*) * " else diff --git a/runtime/ftplugin/rnoweb.vim b/runtime/ftplugin/rnoweb.vim index 3bed4b42c..8dfdf1e80 100644 --- a/runtime/ftplugin/rnoweb.vim +++ b/runtime/ftplugin/rnoweb.vim @@ -1,11 +1,9 @@ " Vim filetype plugin file -" Language: Rnoweb -" Maintainer: This runtime file is looking for a new maintainer. -" Former Maintainer: Jakson Alves de Aquino <[email protected]> -" Former Repository: https://github.com/jalvesaq/R-Vim-runtime -" Last Change: 2023 Feb 27 07:16PM -" 2024 Jan 14 by Vim Project (browsefilter) -" 2024 Feb 19 by Vim Project (announce adoption) +" Language: Rnoweb +" Maintainer: This runtime file is looking for a new maintainer. +" Former Maintainer: Jakson Alves de Aquino <[email protected]> +" Former Repository: https://github.com/jalvesaq/R-Vim-runtime +" Last Change: 2024 Feb 28 by Vim Project " Only do this when not yet done for this buffer if exists("b:did_ftplugin") @@ -28,7 +26,7 @@ setlocal suffixesadd=.bib,.tex setlocal comments=b:%,b:#,b:##,b:###,b:#' if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") - let b:browsefilter = "R Source Files (*.R *.Rnw *.Rd *.Rmd *.Rrst *.qmd) *.R;*.Rnw;*.Rd;*.Rmd;*.Rrst;*.qmd " + let b:browsefilter = "R Source Files (*.R, *.Rnw, *.Rd, *.Rmd, *.Rrst, *.qmd) *.R;*.Rnw;*.Rd;*.Rmd;*.Rrst;*.qmd " if has("win32") let b:browsefilter .= "All Files (*.*) * " else diff --git a/runtime/ftplugin/rrst.vim b/runtime/ftplugin/rrst.vim index 04a9737e4..d088f9822 100644 --- a/runtime/ftplugin/rrst.vim +++ b/runtime/ftplugin/rrst.vim @@ -1,11 +1,9 @@ " Vim filetype plugin file -" Language: reStructuredText documentation format with R code -" Maintainer: This runtime file is looking for a new maintainer. -" Former Maintainer: Jakson Alves de Aquino <[email protected]> -" Former Repository: https://github.com/jalvesaq/R-Vim-runtime -" Last Change: 2023 Feb 27 07:16PM -" 2024 Jan 14 by Vim Project (browsefilter) -" 2024 Feb 19 by Vim Project (announce adoption) +" Language: reStructuredText documentation format with R code +" Maintainer: This runtime file is looking for a new maintainer. +" Former Maintainer: Jakson Alves de Aquino <[email protected]> +" Former Repository: https://github.com/jalvesaq/R-Vim-runtime +" Last Change: 2024 Feb 28 by Vim Project " Original work by Alex Zvoleff " Only do this when not yet done for this buffer @@ -41,7 +39,7 @@ if !exists("g:rrst_dynamic_comments") || (exists("g:rrst_dynamic_comments") && g endif if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") - let b:browsefilter = "R Source Files (*.R *.Rnw *.Rd *.Rmd *.Rrst *.qmd) *.R;*.Rnw;*.Rd;*.Rmd;*.Rrst;*.qmd " + let b:browsefilter = "R Source Files (*.R, *.Rnw, *.Rd, *.Rmd, *.Rrst, *.qmd) *.R;*.Rnw;*.Rd;*.Rmd;*.Rrst;*.qmd " if has("win32") let b:browsefilter .= "All Files (*.*) * " else -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/E1rgU7b-00D03e-TC%40256bit.org.
