From c69562f864cb0ee973142a45091f6cb46ce0b1df Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 26 Jun 2016 18:03:28 +0200 Subject: Update --- indent/proto.vim | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 indent/proto.vim (limited to 'indent/proto.vim') diff --git a/indent/proto.vim b/indent/proto.vim new file mode 100644 index 00000000..bf558e76 --- /dev/null +++ b/indent/proto.vim @@ -0,0 +1,21 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'protobuf') == -1 + +" Vim indent file +" Language: Protobuf +" Maintainer: Johannes Zellner +" Last Change: Fri, 15 Mar 2002 07:53:54 CET + +" Only load this indent file when no other was loaded. +if exists("b:did_indent") + finish +endif +let b:did_indent = 1 + +" Protobuf is like indenting C +setlocal cindent +setlocal expandtab +setlocal shiftwidth=2 + +let b:undo_indent = "setl cin<" + +endif -- cgit v1.2.3