vim-patch:9.2.0204: filetype: cps files are not recognized

Problem:  filetype: cps files are not recognized
Solution: Detect *.cps files as json filetype (Guillaume Barbier).

Reference:
https://github.com/cps-org/cps
https://cps-org.github.io/cps/

closes: vim/vim#19758

53884ba7a8

Co-authored-by: Guillaume Barbier <barbier.guillaume60@gmail.com>
This commit is contained in:
zeertzjq
2026-03-20 07:38:26 +08:00
parent e2c3106b85
commit a18d51a958
2 changed files with 4 additions and 1 deletions

View File

@@ -679,6 +679,7 @@ local extension = {
bd = 'json',
bda = 'json',
xci = 'json',
cps = 'json',
json5 = 'json5',
jsonc = 'jsonc',
jsonl = 'jsonl',