summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJulien Voisin <jvoisin@google.com>2022-04-08 19:55:39 +0100
committerBram Moolenaar <Bram@vim.org>2022-04-08 19:55:39 +0100
commit5e1792270a072a96157e5d5e1d6a97414e26d0bf (patch)
treef38f81d11f15dbda22dba07bb137c927485762ca /runtime
parentcbaff5e06ec525d31dc44093125c42029e01d508 (diff)
downloadvim-git-5e1792270a072a96157e5d5e1d6a97414e26d0bf.tar.gz
patch 8.2.4715: Vagrantfile not recognizedv8.2.4715
Problem: Vagrantfile not recognized. Solution: Recognize Vagrantfile as ruby. (Julien Voisin, closes #10119)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index ec6ab1513..0c7dcae05 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -2050,6 +2050,9 @@ au BufNewFile,BufRead *.vala setf vala
" Vera
au BufNewFile,BufRead *.vr,*.vri,*.vrh setf vera
+" Vagrant (uses Ruby syntax)
+au BufNewFile,BufRead Vagrantfile setf ruby
+
" Verilog HDL
au BufNewFile,BufRead *.v setf verilog