]> git.feebdaed.xyz Git - 0xmirror/vim.git/commit
patch 9.1.2027: filetype: bicep filetype used for 2 bicep file types
authorScott McKendry <me@scottmckendry.tech>
Sat, 27 Dec 2025 15:15:35 +0000 (15:15 +0000)
committerChristian Brabandt <cb@256bit.org>
Sat, 27 Dec 2025 15:20:39 +0000 (15:20 +0000)
commit4e722fdfdd987c11136e3533bd65d0ed4d15f829
tree108c8873fca5c8b8e3531754816ebea3a7898751
parent78046cc5393748e00de2c188a37feb690038f3e0
patch 9.1.2027: filetype: bicep filetype used for 2 bicep file types

Problem:  filetype: bicep filetype used for 2 bicep file types
Solution: Detect *.bicepparam files as bicep-param filetype, include
          new bicep-params and bicep filetype plugin
          (Scott McKendry)

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.

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

closes: #19026

Signed-off-by: Scott McKendry <me@scottmckendry.tech>
Signed-off-by: Christian Brabandt <cb@256bit.org>
.github/MAINTAINERS
runtime/autoload/dist/ft.vim
runtime/ftplugin/bicep-params.vim [new file with mode: 0644]
runtime/ftplugin/bicep.vim [new file with mode: 0644]
src/testdir/test_filetype.vim
src/version.c