aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2019-12-20 17:25:43 +0100
committerGitHub <noreply@github.com>2019-12-20 17:25:43 +0100
commit416de695f9e71e494e3b6e4187e850e560abf7af (patch)
treefab49208afdef97f634baf9cdfcd2b762784f6df /runtime
parent026ba804d173c41ab99ee270c93f7975c1d6d713 (diff)
parenta115f2314387706242ce5b9e5b2d7090a902d9cb (diff)
downloadrneovim-416de695f9e71e494e3b6e4187e850e560abf7af.tar.gz
rneovim-416de695f9e71e494e3b6e4187e850e560abf7af.tar.bz2
rneovim-416de695f9e71e494e3b6e4187e850e560abf7af.zip
Merge pull request #11577 from janlazo/vim-8.2.0019
vim-patch:8.2.{19,24}
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt2
-rw-r--r--runtime/filetype.vim3
2 files changed, 5 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index d02ed54e27..77589b732d 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -4138,6 +4138,8 @@ getbufinfo([{dict}])
hidden TRUE if the buffer is hidden.
listed TRUE if the buffer is listed.
lnum current line number in buffer.
+ linecount number of lines in the buffer (only
+ valid when loaded)
loaded TRUE if the buffer is loaded.
name full path to the file in the buffer.
signs list of signs placed in the buffer.
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index e27d234a96..e66630259e 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -1299,6 +1299,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