Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
18925:9c23fa740199 | 18926:50355c55519f |
---|---|
1301 \ if getline(1) =~? '^REGEDIT[0-9]*\s*$\|^Windows Registry Editor Version \d*\.\d*\s*$' | setf registry | endif | 1301 \ if getline(1) =~? '^REGEDIT[0-9]*\s*$\|^Windows Registry Editor Version \d*\.\d*\s*$' | setf registry | endif |
1302 | 1302 |
1303 " Renderman Interface Bytestream | 1303 " Renderman Interface Bytestream |
1304 au BufNewFile,BufRead *.rib setf rib | 1304 au BufNewFile,BufRead *.rib setf rib |
1305 | 1305 |
1306 " Rego Policy Language | |
1307 au BufNewFile,BufRead *.rego setf rego | |
1308 | |
1306 " Rexx | 1309 " Rexx |
1307 au BufNewFile,BufRead *.rex,*.orx,*.rxo,*.rxj,*.jrexx,*.rexxj,*.rexx,*.testGroup,*.testUnit setf rexx | 1310 au BufNewFile,BufRead *.rex,*.orx,*.rxo,*.rxj,*.jrexx,*.rexxj,*.rexx,*.testGroup,*.testUnit setf rexx |
1308 | 1311 |
1309 " R (Splus) | 1312 " R (Splus) |
1310 if has("fname_case") | 1313 if has("fname_case") |