diff options
author | Amaan Qureshi <amaanq12@gmail.com> | 2023-02-27 14:32:08 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-02-27 14:32:08 +0000 |
commit | 80c5b2c0f78b24e52c73bb162dda3ad85acd7e82 (patch) | |
tree | 3d4306710f90ecf9f2e7c1b5b19fd7f12ef3d04b | |
parent | 5da901bb68717b2baff6e971c1517219b6ee3a67 (diff) | |
download | vim-git-80c5b2c0f78b24e52c73bb162dda3ad85acd7e82.tar.gz |
patch 9.0.1360: Cue files are not recognizedv9.0.1360
Problem: Cue files are not recognized.
Solution: Add patterns for Cue files. (Amaan Qureshi, closes #12067)
-rw-r--r-- | runtime/filetype.vim | 7 | ||||
-rw-r--r-- | src/testdir/test_filetype.vim | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 1c1315bec..1e8099701 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -439,6 +439,9 @@ au BufNewFile,BufRead *.csv setf csv " 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,7 +1038,7 @@ au BufNewFile,BufRead *.ipynb setf json au BufNewFile,BufRead .prettierrc,.firebaserc,.stylelintrc setf json " JSONC (JSON with comments) -au BufNewFile,BufRead *.jsonc,.babelrc,.eslintrc,.jsfmtrc setf jsonc +au BufNewFile,BufRead *.jsonc,.babelrc,.eslintrc,.jsfmtrc setf jsonc au BufNewFile,BufRead .jshintrc,.hintrc,.swrc,[jt]sconfig*.json setf jsonc " JSON @@ -1638,7 +1641,7 @@ au BufNewFile,BufRead *.ptl,*.pyi,SConstruct setf python au BufRead,BufNewFile *.ql,*.qll setf ql " Quarto -au BufRead,BufNewFile *.qmd setf quarto +au BufRead,BufNewFile *.qmd setf quarto " Radiance au BufNewFile,BufRead *.rad,*.mat setf radiance diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index 7647163eb..a482cb007 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -138,6 +138,7 @@ let s:filename_checks = { \ 'csv': ['file.csv'], \ 'cucumber': ['file.feature'], \ 'cuda': ['file.cu', 'file.cuh'], + \ 'cue': ['file.cue'], \ 'cupl': ['file.pld'], \ 'cuplsim': ['file.si'], \ 'cvs': ['cvs123'], diff --git a/src/version.c b/src/version.c index d6b113bac..43281d7d2 100644 --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1360, +/**/ 1359, /**/ 1358, |