comparison src/testdir/keycode_check.vim @ 31849:dbec60b8c253 v9.0.1257

patch 9.0.1257: code style is not check in test scripts Commit: https://github.com/vim/vim/commit/94722c510745a0cfd494c51625a514b92dd2bfb2 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 28 19:19:03 2023 +0000 patch 9.0.1257: code style is not check in test scripts Problem: Code style is not check in test scripts. Solution: Add basic code style check for test files.
author Bram Moolenaar <Bram@vim.org>
date Sat, 28 Jan 2023 20:30:04 +0100
parents 984ebd1f6605
children
comparison
equal deleted inserted replaced
31848:b83cac410fcf 31849:dbec60b8c253
2 2
3 # Script to get various codes that keys send, depending on the protocol used. 3 # Script to get various codes that keys send, depending on the protocol used.
4 # 4 #
5 # Usage: vim -u NONE -S keycode_check.vim 5 # Usage: vim -u NONE -S keycode_check.vim
6 # 6 #
7 # Author: Bram Moolenaar 7 # Author: Bram Moolenaar
8 # Last Update: 2022 Nov 15 8 # Last Update: 2022 Nov 15
9 # 9 #
10 # The codes are stored in the file "keycode_check.json", so that you can 10 # The codes are stored in the file "keycode_check.json", so that you can
11 # compare the results of various terminals. 11 # compare the results of various terminals.
12 # 12 #
13 # You can select what protocol to enable: 13 # You can select what protocol to enable:
447 enddef 447 enddef
448 448
449 # The main loop 449 # The main loop
450 while true 450 while true
451 var action = inputlist(['Select operation:', 451 var action = inputlist(['Select operation:',
452 '1. List results', 452 '1. List results',
453 '2. Add results for a new terminal', 453 '2. Add results for a new terminal',
454 '3. Replace results', 454 '3. Replace results',
455 '4. Clear results', 455 '4. Clear results',
456 '5. Quit', 456 '5. Quit',
457 ]) 457 ])