mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 23:31:51 +00:00
vim-patch:8.0.0157 (#7362)
Problem: No command line completion for ":syntax spell" and ":syntax sync".
Solution: Implement the completion. (Dominique Pelle)
2d02839050
This commit is contained in:

committed by
Justin M. Keyes

parent
a4019bc9f6
commit
9ad7529f70
@@ -76,3 +76,11 @@ func Test_syntax_after_reload()
|
||||
call assert_true(exists('g:gotit'))
|
||||
call delete('Xsomefile')
|
||||
endfunc
|
||||
|
||||
func Test_syntax_completion()
|
||||
call feedkeys(":syn spell \<C-A>\<C-B>\"\<CR>", 'tx')
|
||||
call assert_equal('"syn spell default notoplevel toplevel', @:)
|
||||
|
||||
call feedkeys(":syn sync \<C-A>\<C-B>\"\<CR>", 'tx')
|
||||
call assert_equal('"syn sync ccomment clear fromstart linebreaks= linecont lines= match maxlines= minlines= region', @:)
|
||||
endfunc
|
||||
|
Reference in New Issue
Block a user