refactor(gen_keycodes): put TAB and K_TAB together (#32882)

Keep track of the original indexes of both TAB and K_TAB, so that there
doesn't have to be an extra table and loop for K_TAB.
This commit is contained in:
zeertzjq
2025-03-14 11:36:24 +08:00
committed by GitHub
parent 6d40fd1dbc
commit 2db1ae37f1
2 changed files with 21 additions and 21 deletions

View File

@@ -9,6 +9,7 @@ package.path = (srcdir .. '/src/?.lua;')
_G.vim = require 'vim.shared'
_G.vim.inspect = require 'vim.inspect'
_G.vim.iter = require 'vim.iter'
package.cpath = package.cpath .. ';' .. nlualib
require 'nlua0'
vim.NIL = vim.mpack.NIL -- WOW BOB WOW