refactor(misc1): move comment related functions to change.c

These are used in various places, but were grouped with open_line()
which has a lot of comment prefix logic originally.
This commit is contained in:
Björn Linse
2021-12-10 15:50:16 +01:00
parent 8b316b18d2
commit 608f74a0de
3 changed files with 287 additions and 310 deletions

View File

@@ -14,6 +14,7 @@
#include "nvim/ascii.h"
#include "nvim/buffer.h"
#include "nvim/charset.h"
#include "nvim/change.h"
#include "nvim/cursor.h"
#include "nvim/edit.h"
#include "nvim/eval.h"