view runtime/ftplugin/jsonnet.vim @ 33996:6d33f47b71b8 v9.0.2182

patch 9.0.2182: Vim9: need a way to reserve future extension Commit: https://github.com/vim/vim/commit/ff6f0d5c38e81f742e1161c1504fc6b8e45d9a1e Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Thu Dec 21 16:46:18 2023 +0100 patch 9.0.2182: Vim9: need a way to reserve future extension Problem: Vim9: need a way to reserve future extension Solution: reserve double underscore prefix for future use (Yegappan Lakshmanan) related: #13238 closes: #13742 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 21 Dec 2023 17:00:04 +0100
parents fee9eccee266
children
line wrap: on
line source

" 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<"