diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-12-19 15:57:42 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-12-19 15:57:42 +0100 |
commit | a4ce82fe2e990eb9eaabf6ad400e2a74cce50ce6 (patch) | |
tree | f08aa37fddac9f0b11ddaae76cb151266adc0fef | |
parent | 59cb041d0a56d8555857da7e063ec61504ee1fa7 (diff) |
patch 8.2.0024: filetype Rego not recognizedv8.2.0024
Problem: Filetype Rego not recognized.
Solution: Add *.rego. (Matt Dunford, closes #5376)
-rw-r--r-- | runtime/filetype.vim | 3 | ||||
-rw-r--r-- | src/testdir/test_filetype.vim | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 6fa4d28b04..bee65a65bd 100644 --- 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 diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index 31357e7aff..50f370ff41 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -365,6 +365,7 @@ let s:filename_checks = { \ 'rcs': ['file,v'], \ 'readline': ['.inputrc', 'inputrc'], \ 'remind': ['.reminders', 'file.remind', 'file.rem'], + \ 'rego': ['file.rego'], \ 'resolv': ['resolv.conf'], \ 'reva': ['file.frt'], \ 'rexx': ['file.rex', 'file.orx', 'file.rxo', 'file.rxj', 'file.jrexx', 'file.rexxj', 'file.rexx', 'file.testGroup', 'file.testUnit'], diff --git a/src/version.c b/src/version.c index 5096633e64..c7da9e057c 100644 --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 24, +/**/ 23, /**/ 22, |