[vim/vim] runtime(bicep): treat bicepparam files as separate filetype (PR #19026)

3 views
Skip to first unread message

Scott McKendry

unread,
Dec 26, 2025, 3:57:19 PM (2 days ago) Dec 26
to vim/vim, Subscribed

Adds the bicep-params filetype to allow better bicep language support out of the box, adds two new ftplugin files for bicep and bicep-params.

Why two filetypes?

The bicep language server handles parameter files differently than regular bicep files. Treating them the same at the editor level leads to false positive diagnostics in the editor. To work around this, I've had my own ftplugin and ftdetcect configs for quite some time.

References

Bicep Language Constants:
https://github.com/Azure/bicep/blob/51392d32ca2c8b94b1bb7a255e78e1d559d12573/src/Bicep.Core/LanguageConstants.cs#L23

VS Code Extension definition:
https://github.com/Azure/bicep/blob/51392d32ca2c8b94b1bb7a255e78e1d559d12573/src/vscode-bicep/package.json#L47


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

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

Commit Summary

  • 5979e90 runtime(bicep): treat bicepparam files as separate filetype

File Changes

(4 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/19026@github.com>

Christian Brabandt

unread,
Dec 27, 2025, 10:14:33 AM (yesterday) Dec 27
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19026)

thanks. this is slightly backwards incompatible, but I hope it won't hurt that much, as bicep is probably not the most widely used language on the planet.


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/19026/c3694036114@github.com>

Christian Brabandt

unread,
Dec 27, 2025, 10:22:16 AM (24 hours ago) Dec 27
to vim/vim, Subscribed

Closed #19026 via 4e722fd.


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/19026/issue_event/21766013637@github.com>

Reply all
Reply to author
Forward
0 new messages