[vim/vim] filetype: Detect Objective-C/Objective-C++ (PR #20221)

3 views
Skip to first unread message

Keith Smiley

unread,
May 14, 2026, 12:36:00 PM (yesterday) May 14
to vim/vim, Subscribed

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

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

Commit Summary

  • 09e45de filetype: Detect Objective-C/Objective-C++

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20221@github.com>

dkearns

unread,
May 14, 2026, 1:46:02 PM (23 hours ago) May 14
to vim/vim, Subscribed
dkearns left a comment (vim/vim#20221)

Filetype detection for these is already provided using content tests.

See:

See :help filetype-overrule for how to always match Objective-C. I'll add the corresponding variable for *.mm which is missing.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

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

Keith Smiley

unread,
May 14, 2026, 2:46:58 PM (22 hours ago) May 14
to vim/vim, Push

@keith pushed 1 commit.

  • 7513602 filetype: Detect Objective-C/Objective-C++


View it on GitHub or unsubscribe.


Triage notifications on the go with GitHub Mobile for iOS or Android.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20221/before/09e45de72917c245f01fef2167a2eb271892af51/after/7513602a031621c605862391918e602c39633bfc@github.com>

Keith Smiley

unread,
May 14, 2026, 2:47:02 PM (22 hours ago) May 14
to vim/vim, Subscribed
keith left a comment (vim/vim#20221)

ah ok I see, I updated the logic in a way that I think works correctly for objc++


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

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

Reply all
Reply to author
Forward
0 new messages