[vim/vim] runtime(toml): update syntax and ftplugin. (PR #17259)

3 views
Skip to first unread message

averms

unread,
May 5, 2025, 1:52:08 AM5/5/25
to vim/vim, Subscribed

Add "-" to iskeyword. This required a change to the syntax files too because they were using the word begin and end atoms.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/17259

Commit Summary

  • 08534be runtime(toml): update syntax and ftplugin.

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/17259@github.com>

Christian Brabandt

unread,
May 5, 2025, 5:10:32 AM5/5/25
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#17259)

Thanks. What is the reason to add - to the keyword setting? Perhaps you should instead use :syn iskeyword in the syntax script?


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/17259/c2850371302@github.com>

Christian Brabandt

unread,
May 15, 2025, 12:33:33 PM5/15/25
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#17259)

ping @averms


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/17259/c2884429042@github.com>

averms

unread,
Jan 21, 2026, 4:06:00 PM (2 days ago) Jan 21
to vim/vim, Subscribed
averms left a comment (vim/vim#17259)

Thanks. What is the reason to add - to the keyword setting? Perhaps you should instead use :syn iskeyword in the syntax script?

the initial justification was to make * and # more useful since TOML keys can have dashes in them (cespare/vim-toml#62). So I don't think :syn iskeyword would have the same effect.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/17259/c3781157919@github.com>

Reply all
Reply to author
Forward
0 new messages