mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 9.0.0752: Rprofile files are not recognized
Problem: Rprofile files are not recognized. Solution: Recognize Rprofile files as "r". (closes #11369)
This commit is contained in:
parent
c9121f798f
commit
7e120ffccb
@ -1628,6 +1628,9 @@ else
|
||||
au BufNewFile,BufRead *.rmd,*.smd setf rmd
|
||||
endif
|
||||
|
||||
" R profile file
|
||||
au BufNewFile,BufRead .Rprofile,Rprofile,Rprofile.site setf r
|
||||
|
||||
" RSS looks like XML
|
||||
au BufNewFile,BufRead *.rss setf xml
|
||||
|
||||
|
@ -453,7 +453,7 @@ let s:filename_checks = {
|
||||
\ 'ql': ['file.ql', 'file.qll'],
|
||||
\ 'quake': ['anybaseq2/file.cfg', 'anyid1/file.cfg', 'quake3/file.cfg', 'baseq2/file.cfg', 'id1/file.cfg', 'quake1/file.cfg', 'some-baseq2/file.cfg', 'some-id1/file.cfg', 'some-quake1/file.cfg'],
|
||||
\ 'quarto': ['file.qmd'],
|
||||
\ 'r': ['file.r'],
|
||||
\ 'r': ['file.r', '.Rprofile', 'Rprofile', 'Rprofile.site'],
|
||||
\ 'radiance': ['file.rad', 'file.mat'],
|
||||
\ 'raku': ['file.pm6', 'file.p6', 'file.t6', 'file.pod6', 'file.raku', 'file.rakumod', 'file.rakudoc', 'file.rakutest'],
|
||||
\ 'raml': ['file.raml'],
|
||||
|
@ -695,6 +695,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
752,
|
||||
/**/
|
||||
751,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user