mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
update_terminfo.sh: NOLINT data arrays
This commit is contained in:
@@ -84,8 +84,8 @@ for term in $sorted_terms; do
|
|||||||
infocmp -L -1 -A "$db" "$term" | sed -e '1d' -e 's#^#// #' | tr '\t' ' '
|
infocmp -L -1 -A "$db" "$term" | sed -e '1d' -e 's#^#// #' | tr '\t' ' '
|
||||||
printf 'static const int8_t %s[] = {\n' "${entries[$term]}"
|
printf 'static const int8_t %s[] = {\n' "${entries[$term]}"
|
||||||
printf ' '
|
printf ' '
|
||||||
od -v -t d1 < "$path" | cut -c9- | xargs | tr ' ' ','
|
od -v -t d1 < "$path" | cut -c9- | xargs | tr ' ' ',' | tr -d '\n'
|
||||||
printf '};\n'
|
printf ' // NOLINT\n};\n'
|
||||||
done >> "$target"
|
done >> "$target"
|
||||||
|
|
||||||
cat >> "$target" <<EOF
|
cat >> "$target" <<EOF
|
||||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user