diff runtime/filetype.vim @ 18926:50355c55519f v8.2.0024

patch 8.2.0024: filetype Rego not recognized Commit: https://github.com/vim/vim/commit/a4ce82fe2e990eb9eaabf6ad400e2a74cce50ce6 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 19 15:57:42 2019 +0100 patch 8.2.0024: filetype Rego not recognized Problem: Filetype Rego not recognized. Solution: Add *.rego. (Matt Dunford, closes https://github.com/vim/vim/issues/5376)
author Bram Moolenaar <Bram@vim.org>
date Thu, 19 Dec 2019 16:00:04 +0100
parents e190e64d253b
children bfe90421e223
line wrap: on
line diff
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1303,6 +1303,9 @@ au BufNewFile,BufRead *.reg
 " Renderman Interface Bytestream
 au BufNewFile,BufRead *.rib			setf rib
 
+" Rego Policy Language
+au BufNewFile,BufRead *.rego			setf rego
+
 " Rexx
 au BufNewFile,BufRead *.rex,*.orx,*.rxo,*.rxj,*.jrexx,*.rexxj,*.rexx,*.testGroup,*.testUnit	setf rexx