Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
jsonc.vim23 linesDownload Raw Back to ftplugin
1" Vim filetype plugin2" Language:         JSONC (JSON with Comments)3" Original Author:  Izhak Jakov <izhak724@gmail.com>4" Acknowledgement:  Based off of vim-jsonc maintained by Kevin Locke <kevin@kevinlocke.name>5"                   https://github.com/kevinoid/vim-jsonc6" License:          MIT7" Last Change:      2021 Nov 228"                   2024 May 23 by Riley Bruins <ribru17@gmail.com> ('commentstring')9 10runtime! ftplugin/json.vim11 12if exists('b:did_ftplugin_jsonc')13  finish14else15  let b:did_ftplugin_jsonc = 116endif17 18" Set comment (formatting) related options. {{{119setlocal commentstring=//\ %s comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://20 21" Let Vim know how to disable the plug-in.22let b:undo_ftplugin = 'setlocal commentstring< comments<'23 
codekingpro/portable-devtools · Team Ai