diff options
author | Gabriel Kakizaki <gkakizaki@gmail.com> | 2023-03-16 20:13:29 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-03-16 20:13:29 +0000 |
commit | d11ac403db07b6eac43882485e98caeb5e83e2e5 (patch) | |
tree | 44ea5f1ad2ccb586072248b4aee12a30dc5f0be6 /runtime/filetype.vim | |
parent | 1505bef5c482a48e704644e6172be91c07ef1d12 (diff) |
patch 9.0.1409: racket files are recognized as schemev9.0.1409
Problem: Racket files are recognized as scheme.
Solution: Recognize rackets files separately. (Gabriel Kakizaki,
closes #12164, closes #12162)
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index becf689a2d..462023365a 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1655,6 +1655,9 @@ au BufRead,BufNewFile qmldir setf qmldir " Quarto au BufRead,BufNewFile *.qmd setf quarto +" Racket (formerly detected as "scheme") +au BufNewFile,BufRead *.rkt,*.rktd,*.rktl setf racket + " Radiance au BufNewFile,BufRead *.rad,*.mat setf radiance @@ -1922,8 +1925,8 @@ au BufNewFile,BufRead .zprofile,*/etc/zprofile,.zfbfmarks setf zsh au BufNewFile,BufRead .zshrc,.zshenv,.zlogin,.zlogout,.zcompdump setf zsh au BufNewFile,BufRead *.zsh setf zsh -" Scheme -au BufNewFile,BufRead *.scm,*.ss,*.sld,*.rkt,*.rktd,*.rktl setf scheme +" Scheme ("racket" patterns are now separate, see above) +au BufNewFile,BufRead *.scm,*.ss,*.sld setf scheme " Screen RC au BufNewFile,BufRead .screenrc,screenrc setf screen |