summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin/jsonnet.vim
blob: 1e621e186766992e87aa59e64cefdcdd37ff4930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
" Vim filetype plugin
" Language:        Jsonnet
" Maintainer:      Cezary Drożak <cezary@drozak.net>
" URL:             https://github.com/google/vim-jsonnet
" Last Change:     2022-09-08

" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
  finish
endif

" Don't load another plugin for this buffer
let b:did_ftplugin = 1

setlocal commentstring=//\ %s

let b:undo_ftplugin = "setlocal commentstring<"