Files
vim-polyglot/indent/proto.vim
Adam Stankiewicz 2838800832 Fix conditions, #608
2020-10-25 21:08:27 +01:00

22 lines
443 B
VimL

if has_key(g:polyglot_is_disabled, 'protobuf')
finish
endif
" Vim indent file
" Language: Protobuf
" Maintainer: Johannes Zellner <johannes@zellner.org>
" 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<"