diff options
author | Sean Dewar <seandewar@users.noreply.github.com> | 2020-11-19 17:23:45 +0000 |
---|---|---|
committer | Sean Dewar <seandewar@users.noreply.github.com> | 2020-11-19 17:35:41 +0000 |
commit | a18f050e51f9a9735057ebbecf84cff1842a8ef4 (patch) | |
tree | f0bd624a742cb3a71e272b5e60aa2c81284050f2 /runtime | |
parent | ad56527247353df4a83fc7232d8680083ec4f24f (diff) | |
download | rneovim-a18f050e51f9a9735057ebbecf84cff1842a8ef4.tar.gz rneovim-a18f050e51f9a9735057ebbecf84cff1842a8ef4.tar.bz2 rneovim-a18f050e51f9a9735057ebbecf84cff1842a8ef4.zip |
vim-patch:8.2.2006: .pbtxt files are not recognized
Problem: .pbtxt files are not recognized.
Solution: Recognize .pbtxt as protobuf text buffers. (closes vim/vim#7326)
https://github.com/vim/vim/commit/88774a30c0b1957a6177cdb69d2becedae610299
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 8eb26046da..4e617052a9 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1301,6 +1301,7 @@ au BufNewFile,BufRead *.pml setf promela " Google protocol buffers au BufNewFile,BufRead *.proto setf proto +au BufNewFile,BufRead *.pbtxt setf pbtxt " Protocols au BufNewFile,BufRead */etc/protocols setf protocols |