From a18f050e51f9a9735057ebbecf84cff1842a8ef4 Mon Sep 17 00:00:00 2001 From: Sean Dewar Date: Thu, 19 Nov 2020 17:23:45 +0000 Subject: 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 --- runtime/filetype.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime') 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 -- cgit