@@ -888,7 +888,7 @@ func EvalStatusLine(name string, opts map[string]interface{}) (statusline map[st
888
888
name (nvim_eval_statusline )
889
889
}
890
890
891
- // AddUserCommand create a new user command.
891
+ // CreateUserCommand create a new user command.
892
892
//
893
893
// name is name of the new user command. Must begin with an uppercase letter.
894
894
//
@@ -906,8 +906,8 @@ func EvalStatusLine(name string, opts map[string]interface{}) (statusline map[st
906
906
//
907
907
// force (bool, default true)
908
908
// Override any previous definition.
909
- func AddUserCommand (name string , command UserCommand , opts map [string ]interface {}) {
910
- name (nvim_add_user_command )
909
+ func CreateUserCommand (name string , command UserCommand , opts map [string ]interface {}) {
910
+ name (nvim_create_user_command )
911
911
}
912
912
913
913
// DeleteUserCommand delete a user-defined command.
@@ -1139,11 +1139,11 @@ func BufferMark(buffer Buffer, name string) (pos [2]int) {
1139
1139
name (nvim_buf_get_mark )
1140
1140
}
1141
1141
1142
- // AddBufferUserCommand create a new user command |user-commands| in the given buffer.
1142
+ // CreateBufferUserCommand create a new user command |user-commands| in the given buffer.
1143
1143
//
1144
1144
// Only commands created with |:command-buffer| or this function can be deleted with this function.
1145
- func AddBufferUserCommand (buffer Buffer , name string , command UserCommand , opts map [string ]interface {}) {
1146
- name (nvim_buf_add_user_command )
1145
+ func CreateBufferUserCommand (buffer Buffer , name string , command UserCommand , opts map [string ]interface {}) {
1146
+ name (nvim_buf_create_user_command )
1147
1147
}
1148
1148
1149
1149
// DeleteBufferUserCommand create a new user command |user-commands| in the given buffer.
0 commit comments