aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-04-25 12:32:06 +0200
committerGitHub <noreply@github.com>2023-04-25 12:32:06 +0200
commit965ad7726f91c2597ef6eb7a740ae024da99ec9b (patch)
tree431f38d607eb9b3f9b589cae64cf90e718fca42e /src/nvim/main.c
parenta4b2400804355e99813f39a6b38d8f38667f8bdd (diff)
parent0d2fe7786537ef63d0d3ed1e94546eb3ee35a368 (diff)
downloadrneovim-965ad7726f91c2597ef6eb7a740ae024da99ec9b.tar.gz
rneovim-965ad7726f91c2597ef6eb7a740ae024da99ec9b.tar.bz2
rneovim-965ad7726f91c2597ef6eb7a740ae024da99ec9b.zip
Merge pull request #23293 from bfredl/bigsleep
refactor(time): refactor delay with input checking
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index db366160f6..657f9c67f2 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -173,7 +173,7 @@ bool event_teardown(void)
/// Performs early initialization.
///
-/// Needed for unit tests. Must be called after `time_init()`.
+/// Needed for unit tests.
void early_init(mparm_T *paramp)
{
estack_init();
@@ -261,7 +261,6 @@ int main(int argc, char **argv)
mparm_T params; // various parameters passed between
// main() and other functions.
char *cwd = NULL; // current working dir on startup
- time_init();
// Many variables are in `params` so that we can pass them around easily.
// `argc` and `argv` are also copied, so that they can be changed.