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.
This commit is contained in:
zeertzjq
2023-08-25 19:36:43 +08:00
parent f08648182b
commit 93af6d9ed0
7 changed files with 302 additions and 303 deletions

View File

@@ -20,6 +20,7 @@
#include "nvim/memline.h"
#include "nvim/memory.h"
#include "nvim/option.h"
#include "nvim/plines.h"
#include "nvim/pos.h"
#include "nvim/search.h"
#include "nvim/strings.h"