naiveproxy/tools/gn/misc/vim/ftplugin/gn.vim

13 lines
314 B
VimL
Raw Normal View History

2018-02-02 13:49:39 +03:00
" Copyright 2017 The Chromium Authors. All rights reserved.
" Use of this source code is governed by a BSD-style license that can be
" found in the LICENSE file.
if exists('b:did_ftplugin')
finish
endif
let b:did_ftplugin = 1
setlocal includeexpr=gn#TranslateToBuildFile(v:fname)
setlocal commentstring=#\ %s