forked from aniani/vim
patch 9.0.1057: conflict between supercollider and scala filetype detection
Problem: Conflict between supercollider and scala filetype detection.
Solution: Do not check for "Class : Method", it can appear in both
filetypes. (Chris Kipp, closes #11699)
This commit is contained in:
committed by
Bram Moolenaar
parent
eb53350c02
commit
70ef3f546b
@@ -1533,13 +1533,6 @@ endfunc
|
||||
func Test_sc_file()
|
||||
filetype on
|
||||
|
||||
" SC file methods are defined 'Class : Method'
|
||||
call writefile(['SCNvimDocRenderer : SCDocHTMLRenderer {'], 'srcfile.sc')
|
||||
split srcfile.sc
|
||||
call assert_equal('supercollider', &filetype)
|
||||
bwipe!
|
||||
call delete('srcfile.sc')
|
||||
|
||||
" SC classes are defined with '+ Class {}'
|
||||
call writefile(['+ SCNvim {', '*methodArgs {|method|'], 'srcfile.sc')
|
||||
split srcfile.sc
|
||||
|
||||
Reference in New Issue
Block a user