aboutsummaryrefslogtreecommitdiff
path: root/scripts/update_terminfo.sh
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-12-28 15:48:57 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-12-28 23:52:03 +0100
commitdba69a1d3b6f626c7809bb23632d6539e8d0e134 (patch)
tree6a8e925eee3fe5aec9e3d359aff8a40e731b0320 /scripts/update_terminfo.sh
parent959df5d8a5b2dd586ae4ef2e4ea1cfb64b3a4fb5 (diff)
downloadrneovim-dba69a1d3b6f626c7809bb23632d6539e8d0e134.tar.gz
rneovim-dba69a1d3b6f626c7809bb23632d6539e8d0e134.tar.bz2
rneovim-dba69a1d3b6f626c7809bb23632d6539e8d0e134.zip
update_terminfo.sh: NOLINT data arrays
Diffstat (limited to 'scripts/update_terminfo.sh')
-rwxr-xr-xscripts/update_terminfo.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/update_terminfo.sh b/scripts/update_terminfo.sh
index 3e97b4f7e0..0cfc230ca6 100755
--- a/scripts/update_terminfo.sh
+++ b/scripts/update_terminfo.sh
@@ -84,8 +84,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 ' ' ','
- printf '};\n'
+ od -v -t d1 < "$path" | cut -c9- | xargs | tr ' ' ',' | tr -d '\n'
+ printf ' // NOLINT\n};\n'
done >> "$target"
cat >> "$target" <<EOF