aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/secure.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-02-01 23:43:31 -0800
committerGitHub <noreply@github.com>2025-02-01 23:43:31 -0800
commit0ce0e93bd93d1a203cbb58ab5a029a4260d66798 (patch)
tree25b4d9c602a85a323a7b42d3f7bb5497bbdf08af /runtime/lua/vim/secure.lua
parenta857b251d123112eda78945e163fe7fd0438ff59 (diff)
downloadrneovim-0ce0e93bd93d1a203cbb58ab5a029a4260d66798.tar.gz
rneovim-0ce0e93bd93d1a203cbb58ab5a029a4260d66798.tar.bz2
rneovim-0ce0e93bd93d1a203cbb58ab5a029a4260d66798.zip
refactor(autocmds): remove indirection #32291
Problem: `AucmdExecutable` adds 2 layers of indirection. Although formalizing a `union` is good practice for shared interfaces, this struct is mainly for `autocmd_register` which is internal to this module. Solution: - Store the cmd/fn fields directly on the `AutoCmd` struct. - Drop `AucmdExecutable` and related structures.
Diffstat (limited to 'runtime/lua/vim/secure.lua')
0 files changed, 0 insertions, 0 deletions