aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/search.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-08-25 19:36:43 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-08-25 20:17:26 +0800
commit93af6d9ed0af984be7fc383f25ca20b595961c46 (patch)
tree9ef821c21114888413b2d2631922e5d876a7b9e3 /src/nvim/search.c
parentf08648182b21a184f461123bbdc7707353be3dbf (diff)
downloadrneovim-93af6d9ed0af984be7fc383f25ca20b595961c46.tar.gz
rneovim-93af6d9ed0af984be7fc383f25ca20b595961c46.tar.bz2
rneovim-93af6d9ed0af984be7fc383f25ca20b595961c46.zip
refactor: move virtcol functions to plines.c
Problem: Functions for virtcol and chartabsize are similar (both compute horizontal size), but appear in two different source files. Solution: Move virtcol functions to plines.c.
Diffstat (limited to 'src/nvim/search.c')
-rw-r--r--src/nvim/search.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/search.c b/src/nvim/search.c
index d42da8fb18..cb6596d211 100644
--- a/src/nvim/search.c
+++ b/src/nvim/search.c
@@ -47,6 +47,7 @@
#include "nvim/os/input.h"
#include "nvim/os/time.h"
#include "nvim/path.h"
+#include "nvim/plines.h"
#include "nvim/profile.h"
#include "nvim/regexp.h"
#include "nvim/search.h"