mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
Fix detection of racket filetype, closes #720
This commit is contained in:
@@ -604,7 +604,7 @@ if !has_key(g:polyglot_is_disabled, 'screen')
|
||||
endif
|
||||
|
||||
if !has_key(g:polyglot_is_disabled, 'scheme')
|
||||
au BufNewFile,BufRead *.rkt,*.scm,*.ss setf scheme
|
||||
au BufNewFile,BufRead *.scm,*.ss setf scheme
|
||||
endif
|
||||
|
||||
if !has_key(g:polyglot_is_disabled, 'catalog')
|
||||
|
||||
@@ -470,7 +470,7 @@ let s:globs = {
|
||||
\ 'sather': '*.sa',
|
||||
\ 'sbt': '*.sbt',
|
||||
\ 'scala': '*.scala,*.kojo,*.sc',
|
||||
\ 'scheme': '*.scm,*.ss,*.rkt',
|
||||
\ 'scheme': '*.scm,*.ss',
|
||||
\ 'scilab': '*.sci,*.sce',
|
||||
\ 'screen': '.screenrc,screenrc',
|
||||
\ 'scss': '*.scss',
|
||||
|
||||
@@ -4585,7 +4585,7 @@ glob: "**/scheme.vim"
|
||||
filetypes:
|
||||
- name: scheme
|
||||
patterns:
|
||||
- pattern: "*.scm,*.ss,*.rkt"
|
||||
- pattern: "*.scm,*.ss"
|
||||
description: Scheme
|
||||
---
|
||||
name: screen
|
||||
|
||||
@@ -391,4 +391,6 @@ call TestExtension("conf", "auto.master", "")
|
||||
" https://github.com/sheerun/vim-polyglot/issues/579
|
||||
call TestExtension("dart", "reminders.dart", "")
|
||||
|
||||
call TestExtension("racket", "empty.rkt", "")
|
||||
|
||||
filetype off
|
||||
|
||||
Reference in New Issue
Block a user