forked from aniani/vim
patch 9.0.0283: cannot complete "syn list @cluster"
Problem: Cannot complete "syn list @cluster". Solution: Recognize and handle "list @". (Björn Linse, closes #10990)
This commit is contained in:
@@ -201,6 +201,10 @@ func Test_syntax_completion()
|
||||
|
||||
call feedkeys(":syn match \<C-A>\<C-B>\"\<CR>", 'tx')
|
||||
call assert_match('^"syn match Boolean Character ', @:)
|
||||
|
||||
syn cluster Aax contains=Aap
|
||||
call feedkeys(":syn list @A\<C-A>\<C-B>\"\<CR>", 'tx')
|
||||
call assert_match('^"syn list @Aax', @:)
|
||||
endfunc
|
||||
|
||||
func Test_echohl_completion()
|
||||
|
||||
Reference in New Issue
Block a user