mirror of
https://github.com/neovim/neovim.git
synced 2024-09-17 20:58:20 -04:00
feat(terminfo): bump built-in terminfo entries (#18570)
Removes NOLINT, which is pointless for the generated terminfo_defs.h. Adds `uncrustify:off`, so it is not uncrustify which complains about the same things (too long lines, no space after comma) instead.
This commit is contained in:
parent
f8af81445b
commit
b2799518c7
@ -64,6 +64,8 @@ cat > "$target" <<EOF
|
||||
// This is an open source non-commercial project. Dear PVS-Studio, please check
|
||||
// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
|
||||
|
||||
// uncrustify:off
|
||||
|
||||
//
|
||||
// Generated by scripts/update_terminfo.sh and $(tic -V)
|
||||
//
|
||||
@ -84,8 +86,8 @@ for term in $sorted_terms; do
|
||||
infocmp -L -1 -A "$db" "$term" | sed -e '1d' -e 's#^#// #' | tr '\t' ' '
|
||||
printf 'static const int8_t %s[] = {\n' "${entries[$term]}"
|
||||
printf ' '
|
||||
od -v -t d1 < "$path" | cut -c9- | xargs | tr ' ' ',' | tr -d '\n'
|
||||
printf ' // NOLINT\n};\n'
|
||||
od -v -t d1 < "$path" | cut -c9- | xargs | tr ' ' ','
|
||||
printf '};\n'
|
||||
done >> "$target"
|
||||
|
||||
cat >> "$target" <<EOF
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user