0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

runtime(json5): add basic indent support (#14298)

Signed-off-by: Rocco Mao <dapeng.mao@qq.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Rocco Mao 2024-03-27 02:02:44 +08:00 committed by GitHub
parent b9f5b95b7b
commit 63833bb021
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

11
runtime/indent/json5.vim Normal file
View File

@ -0,0 +1,11 @@
" Vim indent file
" Language: JSON5
" Maintainer: The Vim Project <https://github.com/vim/vim>
" Last Change: 2024-03-26
if exists("b:did_indent")
finish
endif
" Same as jsonc indenting for now
runtime! indent/jsonc.vim