aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index ae6d26227b..12fd72ba70 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -115,7 +115,6 @@ struct loop_cookie {
void *cookie;
};
-
// Struct to save a few things while debugging. Used in do_cmdline() only.
struct dbg_stuff {
int trylevel;
@@ -624,7 +623,6 @@ int do_cmdline(char *cmdline, LineGetter fgetline, void *cookie, int flags)
next_cmdline = cmdline_copy;
}
-
// reset did_emsg for a function that is not aborted by an error
if (did_emsg && !force_abort
&& getline_equal(fgetline, cookie, get_func_line)
@@ -1109,7 +1107,6 @@ static int current_tab_nr(tabpage_T *tab)
#define CURRENT_TAB_NR current_tab_nr(curtab)
#define LAST_TAB_NR current_tab_nr(NULL)
-
/// Figure out the address type for ":wincmd".
static void get_wincmd_addr_type(char *arg, exarg_T *eap)
{
@@ -4675,7 +4672,6 @@ static void correct_range(exarg_T *eap)
}
}
-
/// For a ":vimgrep" or ":vimgrepadd" command return a pointer past the
/// pattern. Otherwise return eap->arg.
static char *skip_grep_pat(exarg_T *eap)
@@ -5635,7 +5631,6 @@ fail:
return FAIL;
}
-
static struct {
cmd_addr_T expand;
char *name;
@@ -6958,7 +6953,6 @@ static void ex_highlight(exarg_T *eap)
do_highlight((const char *)eap->arg, eap->forceit, false);
}
-
/// Call this function if we thought we were going to exit, but we won't
/// (because of an error). May need to restore the terminal mode.
void not_exiting(void)
@@ -7165,7 +7159,6 @@ void ex_win_close(int forceit, win_T *win, tabpage_T *tp)
}
}
-
// free buffer when not hiding it or when it's a scratch buffer
if (tp == NULL) {
win_close(win, !need_hide && !buf_hide(buf), forceit);
@@ -7442,7 +7435,6 @@ void alist_init(alist_T *al)
ga_init(&al->al_ga, (int)sizeof(aentry_T), 5);
}
-
/// Remove a reference from an argument list.
/// Ignored when the argument list is the global one.
/// If the argument list is no longer used by any window, free it.
@@ -7683,7 +7675,6 @@ void ex_splitview(exarg_T *eap)
do_exedit(eap, old_curwin);
}
-
theend:
xfree(fname);
}
@@ -7801,7 +7792,6 @@ static void ex_tabs(exarg_T *eap)
}
}
-
/// ":mode":
/// If no argument given, get the screen size and redraw.
static void ex_mode(exarg_T *eap)
@@ -8011,7 +8001,6 @@ static void ex_nogui(exarg_T *eap)
eap->errmsg = N_("E25: Nvim does not have a built-in GUI");
}
-
static void ex_swapname(exarg_T *eap)
{
if (curbuf->b_ml.ml_mfp == NULL || curbuf->b_ml.ml_mfp->mf_fname == NULL) {
@@ -8054,7 +8043,6 @@ static void ex_syncbind(exarg_T *eap)
topline = 1;
}
-
/*
* Set all scrollbind windows to the same topline.
*/
@@ -8089,7 +8077,6 @@ static void ex_syncbind(exarg_T *eap)
}
}
-
static void ex_read(exarg_T *eap)
{
int i;
@@ -9244,7 +9231,6 @@ static void ex_findpat(exarg_T *eap)
}
}
-
/// ":ptag", ":ptselect", ":ptjump", ":ptnext", etc.
static void ex_ptag(exarg_T *eap)
{