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

@@ -2,13 +2,12 @@
#define NVIM_CHARSET_H
#include <stdbool.h>
#include <stdint.h>
#include "nvim/buffer_defs.h"
#include "nvim/eval/typval_defs.h"
#include "nvim/option_defs.h"
#include "nvim/pos.h"
#include "nvim/strings.h"
#include "nvim/types.h"
/// Return the folded-case equivalent of the given character
///