view runtime/tools/vim132 @ 18707:e190e64d253b v8.1.2345

patch 8.1.2345: .cjs files are not recognized as Javascript Commit: https://github.com/vim/vim/commit/c1faf3dc3879e8a5e486f31445b5a5753dcbc6a3 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Nov 26 13:43:40 2019 +0100 patch 8.1.2345: .cjs files are not recognized as Javascript Problem: .cjs files are not recognized as Javascript. Solution: Add the *.cjs pattern. (closes https://github.com/vim/vim/issues/5268)
author Bram Moolenaar <Bram@vim.org>
date Tue, 26 Nov 2019 13:45:05 +0100
parents 3fc0f57ecb91
children
line wrap: on
line source

#!/bin/csh
#
# Shell script for use with UNIX
# Starts up Vim with the terminal in 132 column mode
# Only works on VT-100 terminals and lookalikes
# You need to have a termcap entry "vt100-w". Same as vt100 but 132 columns.
#
set oldterm=$term
echo "[?3h"
setenv TERM vt100-w
vim $*
set term=$oldterm
echo "[?3l"