Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: tools/vim/mojom/indent/mojom.vim

Issue 1423493004: Add auto-indenting for .mojom files in VIM (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 " Copyright 2015 The Chromium Authors. All rights reserved.
2 " Use of this source code is governed by a BSD-style license that can be
3 " found in the LICENSE file.
4 " Vim syntax file " Language: Mojom
5 " To get syntax highlighting for .mojom files, add the following to your .vimrc
6 " file:
7 " set runtimepath^=/path/to/src/tools/vim/mojom
8
9 if exists("b:did_indent")
10 finish
11 endif
12 let b:did_indent = 1
13
14 setlocal cindent
15 setlocal formatoptions=tcroq
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698