aboutsummaryrefslogtreecommitdiff
path: root/scripts/update_terminfo.sh
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2023-11-29 22:40:55 +0000
committerJosh Rahm <joshuarahm@gmail.com>2023-11-29 22:40:55 +0000
commit0bd3cd90d902a1419db129427980ad7af1650d50 (patch)
tree2554d10989c0387909d002f41ecbf380dd431b8b /scripts/update_terminfo.sh
parent4cb64e3b084995a0924d521e89c3e341e2200a6a (diff)
parent4a8bf24ac690004aedf5540fa440e788459e5e34 (diff)
downloadrneovim-0bd3cd90d902a1419db129427980ad7af1650d50.tar.gz
rneovim-0bd3cd90d902a1419db129427980ad7af1650d50.tar.bz2
rneovim-0bd3cd90d902a1419db129427980ad7af1650d50.zip
Merge remote-tracking branch 'upstream/master' into fix_20726
Diffstat (limited to 'scripts/update_terminfo.sh')
-rwxr-xr-xscripts/update_terminfo.sh11
1 files changed, 1 insertions, 10 deletions
diff --git a/scripts/update_terminfo.sh b/scripts/update_terminfo.sh
index 775048f246..e12365ba8f 100755
--- a/scripts/update_terminfo.sh
+++ b/scripts/update_terminfo.sh
@@ -61,17 +61,11 @@ print_bold "[*] Writing $target... "
sorted_terms="$(echo "${!entries[@]}" | tr ' ' '\n' | sort | xargs)"
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)
-//
-#ifndef NVIM_TUI_TERMINFO_DEFS_H
-#define NVIM_TUI_TERMINFO_DEFS_H
+#pragma once
#include <stdint.h>
EOF
@@ -90,7 +84,4 @@ for term in $sorted_terms; do
printf '};\n'
done >> "$target"
-cat >> "$target" <<EOF
-#endif // NVIM_TUI_TERMINFO_DEFS_H
-EOF
print_bold 'done\n'