diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-12-28 15:48:57 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-12-28 23:52:03 +0100 |
commit | dba69a1d3b6f626c7809bb23632d6539e8d0e134 (patch) | |
tree | 6a8e925eee3fe5aec9e3d359aff8a40e731b0320 /scripts/update_terminfo.sh | |
parent | 959df5d8a5b2dd586ae4ef2e4ea1cfb64b3a4fb5 (diff) | |
download | rneovim-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-x | scripts/update_terminfo.sh | 4 |
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 |