Patch 9.0.1360

2 views
Skip to first unread message

Bram Moolenaar

unread,
Feb 27, 2023, 9:34:51 AM2/27/23
to vim...@googlegroups.com

Patch 9.0.1360
Problem: Cue files are not recognized.
Solution: Add patterns for Cue files. (Amaan Qureshi, closes #12067)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim


*** ../vim-9.0.1359/runtime/filetype.vim 2023-02-24 16:01:50.591214919 +0000
--- runtime/filetype.vim 2023-02-27 14:30:06.858171481 +0000
***************
*** 439,444 ****
--- 439,447 ----
" CUDA Compute Unified Device Architecture
au BufNewFile,BufRead *.cu,*.cuh setf cuda

+ " Cue
+ au BufNewFile,BufRead *.cue setf cue
+
" Dockerfile; Podman uses the same syntax with name Containerfile
" Also see Dockerfile.* below.
au BufNewFile,BufRead Containerfile,Dockerfile,dockerfile,*.[dD]ockerfile setf dockerfile
***************
*** 1035,1041 ****
au BufNewFile,BufRead .prettierrc,.firebaserc,.stylelintrc setf json

" JSONC (JSON with comments)
! au BufNewFile,BufRead *.jsonc,.babelrc,.eslintrc,.jsfmtrc setf jsonc
au BufNewFile,BufRead .jshintrc,.hintrc,.swrc,[jt]sconfig*.json setf jsonc

" JSON
--- 1038,1044 ----
au BufNewFile,BufRead .prettierrc,.firebaserc,.stylelintrc setf json

" JSONC (JSON with comments)
! au BufNewFile,BufRead *.jsonc,.babelrc,.eslintrc,.jsfmtrc setf jsonc
au BufNewFile,BufRead .jshintrc,.hintrc,.swrc,[jt]sconfig*.json setf jsonc

" JSON
***************
*** 1638,1644 ****
au BufRead,BufNewFile *.ql,*.qll setf ql

" Quarto
! au BufRead,BufNewFile *.qmd setf quarto

" Radiance
au BufNewFile,BufRead *.rad,*.mat setf radiance
--- 1641,1647 ----
au BufRead,BufNewFile *.ql,*.qll setf ql

" Quarto
! au BufRead,BufNewFile *.qmd setf quarto

" Radiance
au BufNewFile,BufRead *.rad,*.mat setf radiance
*** ../vim-9.0.1359/src/testdir/test_filetype.vim 2023-02-24 16:01:50.595214915 +0000
--- src/testdir/test_filetype.vim 2023-02-27 14:30:06.858171481 +0000
***************
*** 138,143 ****
--- 138,144 ----
\ 'csv': ['file.csv'],
\ 'cucumber': ['file.feature'],
\ 'cuda': ['file.cu', 'file.cuh'],
+ \ 'cue': ['file.cue'],
\ 'cupl': ['file.pld'],
\ 'cuplsim': ['file.si'],
\ 'cvs': ['cvs123'],
*** ../vim-9.0.1359/src/version.c 2023-02-27 12:47:44.111282510 +0000
--- src/version.c 2023-02-27 14:30:48.314097395 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1360,
/**/

--
hundred-and-one symptoms of being an internet addict:
189. You put your e-mail address in the upper left-hand corner of envelopes.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages