annotate runtime/indent/json5.vim @ 35908:33e5b3e91301

runtime(zip): Fix for FreeBSD's unzip command Commit: https://github.com/vim/vim/commit/f0e9b72c8fdd47b9b410a11edf7479953cb2aed9 Author: Damien <141588647+xrandomname@users.noreply.github.com> Date: Mon Aug 5 20:21:18 2024 +0200 runtime(zip): Fix for FreeBSD's unzip command Problem: Cannot browse zipfiles with the unzip program found on FreeBSD. Solution: Adjust command arguments. Unzip found on FreeBSD complain about missing argument with the zipinfo modifier '-Z -1'. Joining arguments seems to work for both implementations. Also change `:sil!` to `:sil` so that error messages are properly reported (per review of Christian Brabandt). related: #15411 Signed-off-by: Damien <141588647+xrandomname@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 05 Aug 2024 20:30:02 +0200
parents a63ac82f6e7f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
34655
a63ac82f6e7f runtime(json5): add basic indent support (#14298)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 " Vim indent file
a63ac82f6e7f runtime(json5): add basic indent support (#14298)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2 " Language: JSON5
a63ac82f6e7f runtime(json5): add basic indent support (#14298)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
3 " Maintainer: The Vim Project <https://github.com/vim/vim>
a63ac82f6e7f runtime(json5): add basic indent support (#14298)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
4 " Last Change: 2024-03-26
a63ac82f6e7f runtime(json5): add basic indent support (#14298)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
5
a63ac82f6e7f runtime(json5): add basic indent support (#14298)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
6 if exists("b:did_indent")
a63ac82f6e7f runtime(json5): add basic indent support (#14298)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
7 finish
a63ac82f6e7f runtime(json5): add basic indent support (#14298)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
8 endif
a63ac82f6e7f runtime(json5): add basic indent support (#14298)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
9
a63ac82f6e7f runtime(json5): add basic indent support (#14298)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
10 " Same as jsonc indenting for now
a63ac82f6e7f runtime(json5): add basic indent support (#14298)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
11 runtime! indent/jsonc.vim