aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/misc1.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-12-10 17:35:06 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2021-12-10 17:35:06 +0100
commit29517d95b74bec4e02ec75e6720a55671ead6529 (patch)
tree0640081819545a0f99ef06b50d327b7ed6269b04 /src/nvim/misc1.c
parentc88555418a991407a46b74dc038a0b08ad0f0162 (diff)
downloadrneovim-29517d95b74bec4e02ec75e6720a55671ead6529.tar.gz
rneovim-29517d95b74bec4e02ec75e6720a55671ead6529.tar.bz2
rneovim-29517d95b74bec4e02ec75e6720a55671ead6529.zip
refactor(misc1): move insertmode related function to edit.c
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r--src/nvim/misc1.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index 7a53775cbc..44ea895a47 100644
--- a/src/nvim/misc1.c
+++ b/src/nvim/misc1.c
@@ -437,13 +437,3 @@ done:
xfree(tempname);
return buffer;
}
-
-/*
- * Return TRUE when need to go to Insert mode because of 'insertmode'.
- * Don't do this when still processing a command or a mapping.
- * Don't do this when inside a ":normal" command.
- */
-int goto_im(void)
-{
- return p_im && stuff_empty() && typebuf_typed();
-}