Skip to content

Commit 80c5b2c

Browse files
amaanqbrammool
authored andcommitted
patch 9.0.1360: Cue files are not recognized
Problem: Cue files are not recognized. Solution: Add patterns for Cue files. (Amaan Qureshi, closes #12067)
1 parent 5da901b commit 80c5b2c

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

runtime/filetype.vim

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,9 @@ au BufNewFile,BufRead *.csv setf csv
439439
" CUDA Compute Unified Device Architecture
440440
au BufNewFile,BufRead *.cu,*.cuh setf cuda
441441

442+
" Cue
443+
au BufNewFile,BufRead *.cue setf cue
444+
442445
" Dockerfile; Podman uses the same syntax with name Containerfile
443446
" Also see Dockerfile.* below.
444447
au BufNewFile,BufRead Containerfile,Dockerfile,dockerfile,*.[dD]ockerfile setf dockerfile
@@ -1035,7 +1038,7 @@ au BufNewFile,BufRead *.ipynb setf json
10351038
au BufNewFile,BufRead .prettierrc,.firebaserc,.stylelintrc setf json
10361039

10371040
" JSONC (JSON with comments)
1038-
au BufNewFile,BufRead *.jsonc,.babelrc,.eslintrc,.jsfmtrc setf jsonc
1041+
au BufNewFile,BufRead *.jsonc,.babelrc,.eslintrc,.jsfmtrc setf jsonc
10391042
au BufNewFile,BufRead .jshintrc,.hintrc,.swrc,[jt]sconfig*.json setf jsonc
10401043

10411044
" JSON
@@ -1638,7 +1641,7 @@ au BufNewFile,BufRead *.ptl,*.pyi,SConstruct setf python
16381641
au BufRead,BufNewFile *.ql,*.qll setf ql
16391642

16401643
" Quarto
1641-
au BufRead,BufNewFile *.qmd setf quarto
1644+
au BufRead,BufNewFile *.qmd setf quarto
16421645

16431646
" Radiance
16441647
au BufNewFile,BufRead *.rad,*.mat setf radiance

src/testdir/test_filetype.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ let s:filename_checks = {
138138
\ 'csv': ['file.csv'],
139139
\ 'cucumber': ['file.feature'],
140140
\ 'cuda': ['file.cu', 'file.cuh'],
141+
\ 'cue': ['file.cue'],
141142
\ 'cupl': ['file.pld'],
142143
\ 'cuplsim': ['file.si'],
143144
\ 'cvs': ['cvs123'],

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,8 @@ static char *(features[]) =
695695

696696
static int included_patches[] =
697697
{ /* Add new patch number below this line */
698+
/**/
699+
1360,
698700
/**/
699701
1359,
700702
/**/

0 commit comments

Comments
 (0)