mirror of
https://github.com/neovim/neovim.git
synced 2025-09-23 11:38:31 +00:00
refactor(uncrustify): set maximum number of consecutive newlines to 2 (#18695)
This commit is contained in:
@@ -31,7 +31,6 @@
|
||||
goto goto_name; \
|
||||
}
|
||||
|
||||
|
||||
// ID for associating autocmds created via nvim_create_autocmd
|
||||
// Used to delete autocmds from nvim_del_autocmd
|
||||
static int64_t next_autocmd_id = 1;
|
||||
@@ -429,7 +428,6 @@ Integer nvim_create_autocmd(uint64_t channel_id, Object event, Dict(create_autoc
|
||||
AucmdExecutable aucmd = AUCMD_EXECUTABLE_INIT;
|
||||
Callback cb = CALLBACK_NONE;
|
||||
|
||||
|
||||
if (!unpack_string_or_array(&event_array, &event, "event", true, err)) {
|
||||
goto cleanup;
|
||||
}
|
||||
@@ -550,7 +548,6 @@ Integer nvim_create_autocmd(uint64_t channel_id, Object event, Dict(create_autoc
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
cleanup:
|
||||
aucmd_exec_free(&aucmd);
|
||||
api_free_array(event_array);
|
||||
|
Reference in New Issue
Block a user