mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 04:17:01 +00:00 
			
		
		
		
	fix(api): nvim_parse_cmd check for ambiguous user command (#19116)
This commit is contained in:
		| @@ -3520,6 +3520,9 @@ describe('API', function() | ||||
|          pcall_err(meths.parse_cmd, 'Fubar!', {})) | ||||
|       eq('Error while parsing command line: E481: No range allowed', | ||||
|          pcall_err(meths.parse_cmd, '4,6Fubar', {})) | ||||
|       command('command! Foobar echo foo') | ||||
|       eq('Error while parsing command line: E464: Ambiguous use of user-defined command', | ||||
|          pcall_err(meths.parse_cmd, 'F', {})) | ||||
|     end) | ||||
|   end) | ||||
|   describe('nvim_cmd', function() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 zeertzjq
					zeertzjq