view runtime/ftplugin/json.vim @ 28325:a3a760ee765f v8.2.4688

patch 8.2.4688: new regexp engine does not give an error for "%v" Commit: https://github.com/vim/vim/commit/91ff3d4f52a55a7c37a52aaad524cd9dd12efae4 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Apr 4 18:32:32 2022 +0100 patch 8.2.4688: new regexp engine does not give an error for "\%v" Problem: New regexp engine does not give an error for "\%v". Solution: Check for a value argument. (issue https://github.com/vim/vim/issues/10079)
author Bram Moolenaar <Bram@vim.org>
date Mon, 04 Apr 2022 19:45:04 +0200
parents 32a77cc160d9
children
line wrap: on
line source

" Vim filetype plugin
" Language:		JSON
" Maintainer:		David Barnett <daviebdawg+vim@gmail.com>
" Last Change:		2014 Jul 16

if exists('b:did_ftplugin')
  finish
endif
let b:did_ftplugin = 1

let b:undo_ftplugin = 'setlocal formatoptions< comments< commentstring<'

setlocal formatoptions-=t

" JSON has no comments.
setlocal comments=
setlocal commentstring=