aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-10-15 10:12:25 +0200
committerGitHub <noreply@github.com>2022-10-15 10:12:25 +0200
commite26b48bde6e116eb288893454d2876cdad2db1f9 (patch)
treee94d6a370409ae5e34170a16cea0c2e48deb2ced /runtime/lua
parent1c478391ca7754bf5ecb4b76c29acfa9b4978393 (diff)
downloadrneovim-e26b48bde6e116eb288893454d2876cdad2db1f9.tar.gz
rneovim-e26b48bde6e116eb288893454d2876cdad2db1f9.tar.bz2
rneovim-e26b48bde6e116eb288893454d2876cdad2db1f9.zip
vim-patch:9.0.0752: Rprofile files are not recognized (#20658)
Problem: Rprofile files are not recognized. Solution: Recognize Rprofile files as "r". (closes vim/vim#11369) https://github.com/vim/vim/commit/7e120ffccbf81ae8acac28f11fbd5eab79a1630d
Diffstat (limited to 'runtime/lua')
-rw-r--r--runtime/lua/vim/filetype.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index ea39f66393..d2840b3a7e 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -1540,6 +1540,9 @@ local filename = {
['.pythonstartup'] = 'python',
['.pythonrc'] = 'python',
SConstruct = 'python',
+ ['.Rprofile'] = 'r',
+ ['Rprofile'] = 'r',
+ ['Rprofile.site'] = 'r',
ratpoisonrc = 'ratpoison',
['.ratpoisonrc'] = 'ratpoison',
inputrc = 'readline',