aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/charset.h
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/charset.h
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/charset.h')
-rw-r--r--src/nvim/charset.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/charset.h b/src/nvim/charset.h
index 258e95bec0..cb5fbb22ed 100644
--- a/src/nvim/charset.h
+++ b/src/nvim/charset.h
@@ -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
///