mirror of
https://github.com/vim/vim.git
synced 2025-11-14 23:04:02 -05:00
patch 8.2.0612: Vim9: no check for space before #comment
Problem: Vim9: no check for space before #comment. Solution: Add space checks.
This commit is contained in:
@@ -1255,7 +1255,7 @@ func Test_sort_cmd()
|
||||
call setline(1, ['line1', 'line2'])
|
||||
call assert_fails('sort no', 'E474:')
|
||||
call assert_fails('sort c', 'E475:')
|
||||
call assert_fails('sort #pat%', 'E682:')
|
||||
call assert_fails('sort #pat%', 'E654:')
|
||||
|
||||
enew!
|
||||
endfunc
|
||||
|
||||
Reference in New Issue
Block a user