robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Christian Clasonvim-patch:39eff4c: runtime(proto): Add indent script for protobuf filetypef35d5afbf1

master
405 B19 linesraw
1" Vim indent file
2" Language:	Protobuf
3" Maintainer:	David Pedersen <limero@me.com>
4" Last Change:	2024 Aug 07
5
6" Only load this indent file when no other was loaded.
7if exists("b:did_indent")
8  finish
9endif
10let b:did_indent = 1
11
12" Protobuf is like indenting C
13setlocal cindent
14setlocal expandtab
15setlocal shiftwidth=2
16
17let b:undo_indent = "setlocal cindent< expandtab< shiftwidth<"
18
19" vim: sw=2 sts=2 et