summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/syntax/sudoers.vim
AgeCommit message (Collapse)AuthorFiles
2026-03-12vim-patch:8f2cd47: runtime(sudoers): update filetype plugin and syntax ↵zeertzjq1
script (#38262) - remove `set isk+=-` to highlight `-=` operator correctly - implement highlighting of GID - fix highlight of hostname and add special value ALL - fix highlight of IP address - update include and includedir patterns - remove duplicate syntax rules - add missing options - fix highlight of parameter assignment (limit operators to list parameters) - fix highlight of string and list parameters with trailing whitespaces - implement highlight of permission (octal) - implement highlight of floating point numbers - implement highlight of timeout-specific options - support highlight of negatable options (integer, mode, float, timeout, string) - allow sudoersListParameter to be negated - fix highlight of comma-separated parameter list used as boolean - fix highlight of parameter negation (prevent highlighting ill-formed `! !`) - fix highlight of Tag_Spec - allow empty Runas spec: `()` and `(:)` - fix highlight of comma-concatenated commands, hosts, and users - check word boundaries for special value ALL - implement highlight of Option_Spec - fix highlight in User_Spec (specifically for Host position) - fix highlight of `Default!` command - support highlight of digests (sha224, etc.) - add syntax test and update header closes: vim/vim#19634 https://github.com/vim/vim/commit/8f2cd474048302ee1d919a45707e8b1f5db7ea57 Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
2026-02-14vim-patch:a39d7c2: runtime(sudoers): highlight usernames with hyphens, ↵zeertzjq1
digits, underscores The username/group/netgroup patterns used \l\+ which only matched lowercase letters. Linux usernames commonly contain hyphens, digits, and underscores (e.g. www-data, deploy01, test_user). Update the pattern to \l[-a-z0-9_]* to allow matching the additional characters "-_" and numbers. fixes: vim/vim#18963 closes: vim/vim#19396 https://github.com/vim/vim/commit/a39d7c26171d1629628788e80a7b062f8c5103e1 Co-authored-by: Bozhidar Batsov <bozhidar@batsov.dev>
2024-09-02vim-patch:bd69b39: runtime(sudoers): improve recognized Runas_Spec and ↵Christian Clason1
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>
2021-05-02vim-patch:dad4473f02e1Jan Edmund Lazo1
Update runtime files. https://github.com/vim/vim/commit/dad4473f02e1fec86d43a2fc094536a4b27d3b25 Omit :echoconsole. Patch v8.2.2638 is not ported.
2018-10-29vim-patch:fc65cabb15d0Justin M. Keyes1
Update runtime files. https://github.com/vim/vim/commit/fc65cabb15d0236bce001ad78e12a40511caf941 --- vim-patch:8.0.1279: initializing menus can be slow Problem: Initializing menus can be slow, especially when there are many keymaps, color schemes, etc. Solution: Do the globbing for runtime files lazlily. (Ken Takata)
2018-10-29vim-patch:a9604e614517Justin M. Keyes1
Update runtime files. https://github.com/vim/vim/commit/a9604e61451707b38fdcb088fbfaeea2b922fef6
2017-11-06vim-patch:214641f77df6Justin M. Keyes1
Runtime file updates. https://github.com/vim/vim/commit/214641f77df6f318a4b3a0b09723c19859a103f4 N/A: vim-patch:26a280c47a1c
2014-07-29re-integrate runtime/ vim-patch:0 #938Justin M. Keyes1
Vim runtime files based on 7.4.384 / hg changeset 7090d7f160f7 Excluding: Amiga icons (*.info, icons/) doc/hangulin.txt tutor/ spell/ lang/ (only used for menu translations) macros/maze/, macros/hanoi/, macros/life/, macros/urm/ These were used to test vi compatibility. termcap "Demonstration of a termcap file (for the Amiga and Archimedes)" Helped-by: Rich Wareham <rjw57@cam.ac.uk> Helped-by: John <john.schmidt.h@gmail.com> Helped-by: Yann <yann@yann-salaun.com> Helped-by: Christophe Badoit <c.badoit@lesiteimmo.com> Helped-by: drasill <github@tof2k.com> Helped-by: Tae Sandoval Murgan <taecilla@gmail.com> Helped-by: Lowe Thiderman <lowe.thiderman@gmail.com>