mirror of
https://github.com/neovim/neovim.git
synced 2026-08-30 02:51:48 +00:00
vim-patch:8.0.0655: not easy to make sure a function does not exist
Problem: Not easy to make sure a function does not exist.
Solution: Add ! as an optional argument to :delfunc.
d6abcd154c
This commit is contained in:
@@ -692,7 +692,7 @@ return {
|
||||
},
|
||||
{
|
||||
command='delcommand',
|
||||
flags=bit.bor(NEEDARG, WORD1, TRLBAR, CMDWIN),
|
||||
flags=bit.bor(BANG, NEEDARG, WORD1, TRLBAR, CMDWIN),
|
||||
addr_type=ADDR_LINES,
|
||||
func='ex_delcommand',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user