diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-09-02 10:53:49 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-09-02 11:15:42 +0200 |
commit | 13c739a664b577b4cfaeced10319538d877bb811 (patch) | |
tree | 09e3cae221ccfeacc68d3b6b2a6b304f961e5e30 /runtime/lua/vim/_options.lua | |
parent | bcae8be91f9fd4967f0c6f6ffabf59702253949b (diff) | |
download | rneovim-13c739a664b577b4cfaeced10319538d877bb811.tar.gz rneovim-13c739a664b577b4cfaeced10319538d877bb811.tar.bz2 rneovim-13c739a664b577b4cfaeced10319538d877bb811.zip |
vim-patch:bd69b39: runtime(sudoers): improve recognized Runas_Spec and Tag_Spec items
Recognize colon-delimited second part of Runas_Spec that specifies
permitted groups, e.g.:
alan ALL = (root, bin : operator, system) ALL
This implementation is sloppy because it accepts any amount of colons
delimiting further Runas_Lists, but for now that's better than bailing
out completely as soon as a colon is encountered (esp. given that the
default sudoers uses these colons, breaking highlighting OOTB).
Also, while at it, make Vim recognize all Tag_Spec items, not just
{,NO}PASSWD
closes: vim/vim#15607
https://github.com/vim/vim/commit/bd69b39514f1fec45a5ac76cd36db5dec2faebe2
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/lua/vim/_options.lua')
0 files changed, 0 insertions, 0 deletions