]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(r,rhelp,rmd,rnoweb,rrst): Update ftplugin, browsefilter labels (#14126)
authordkearns <dougkearns@gmail.com>
Sat, 2 Mar 2024 18:27:47 +0000 (05:27 +1100)
committerGitHub <noreply@github.com>
Sat, 2 Mar 2024 18:27:47 +0000 (19:27 +0100)
Use the standard format for browsefilter labels:
  "File Description (*.ext1, *.ext2, *.ext3)"

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/ftplugin/r.vim
runtime/ftplugin/rhelp.vim
runtime/ftplugin/rmd.vim
runtime/ftplugin/rnoweb.vim
runtime/ftplugin/rrst.vim

index b3ffc91abcbd98ba3f9981691c98c8e448562577..6b07744c4a068e230374c2423efbfdc10c6e6293 100644 (file)
@@ -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 <jalvesaq@gmail.com>
-" 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 <jalvesaq@gmail.com>
+" 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)\t*.R\n" .
-        \ "Files that include R (*.Rnw *.Rd *.Rmd *.Rrst *.qmd)\t*.Rnw;*.Rd;*.Rmd;*.Rrst;*.qmd\n"
+        \ "Files that include R (*.Rnw, *.Rd, *.Rmd, *.Rrst, *.qmd)\t*.Rnw;*.Rd;*.Rmd;*.Rrst;*.qmd\n"
   if has("win32")
     let b:browsefilter .= "All Files (*.*)\t*\n"
   else
index 6086b440f0ab35e7c463b0365132453576a6d3c2..0fa1e56573741777a496244ad5ee29c04e00d705 100644 (file)
@@ -1,9 +1,9 @@
 " Vim filetype plugin file
-" Language: R help file
-" Maintainer: Jakson Alves de Aquino <jalvesaq@gmail.com>
-" 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 <jalvesaq@gmail.com>
+" 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)\t*.R;*.Rnw;*.Rd;*.Rmd;*.Rrst;*.qmd\n"
+  let b:browsefilter = "R Source Files (*.R, *.Rnw, *.Rd, *.Rmd, *.Rrst, *.qmd)\t*.R;*.Rnw;*.Rd;*.Rmd;*.Rrst;*.qmd\n"
   if has("win32")
     let b:browsefilter .= "All Files (*.*)\t*\n"
   else
index 74b920f19acdaa8c91729030529fe43c8a525a5d..a537017aad6cbff9c8d473f658fde510ee0291c4 100644 (file)
@@ -1,9 +1,9 @@
 " Vim filetype plugin file
-" Language: R Markdown file
-" Maintainer: Jakson Alves de Aquino <jalvesaq@gmail.com>
-" 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 <jalvesaq@gmail.com>
+" 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)\t*.R;*.Rnw;*.Rd;*.Rmd;*.Rrst;*.qmd\n"
+  let b:browsefilter = "R Source Files (*.R, *.Rnw, *.Rd, *.Rmd, *.Rrst, *.qmd)\t*.R;*.Rnw;*.Rd;*.Rmd;*.Rrst;*.qmd\n"
   if has("win32")
     let b:browsefilter .= "All Files (*.*)\t*\n"
   else
index 3bed4b42cbcdb7d0e1f7c10851703c609e1b01d1..8dfdf1e80fe6f2b2983f205c9775f91473cde1a4 100644 (file)
@@ -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 <jalvesaq@gmail.com>
-" 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 <jalvesaq@gmail.com>
+" 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)\t*.R;*.Rnw;*.Rd;*.Rmd;*.Rrst;*.qmd\n"
+  let b:browsefilter = "R Source Files (*.R, *.Rnw, *.Rd, *.Rmd, *.Rrst, *.qmd)\t*.R;*.Rnw;*.Rd;*.Rmd;*.Rrst;*.qmd\n"
   if has("win32")
     let b:browsefilter .= "All Files (*.*)\t*\n"
   else
index 04a9737e42c6278b8e68fc30b196c2200d32143c..d088f98224fc00763343306ec17d73907c60504c 100644 (file)
@@ -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 <jalvesaq@gmail.com>
-" 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 <jalvesaq@gmail.com>
+" 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)\t*.R;*.Rnw;*.Rd;*.Rmd;*.Rrst;*.qmd\n"
+  let b:browsefilter = "R Source Files (*.R, *.Rnw, *.Rd, *.Rmd, *.Rrst, *.qmd)\t*.R;*.Rnw;*.Rd;*.Rmd;*.Rrst;*.qmd\n"
   if has("win32")
     let b:browsefilter .= "All Files (*.*)\t*\n"
   else