diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-08-25 19:36:43 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-08-25 20:17:26 +0800 |
commit | 93af6d9ed0af984be7fc383f25ca20b595961c46 (patch) | |
tree | 9ef821c21114888413b2d2631922e5d876a7b9e3 /src/nvim/charset.h | |
parent | f08648182b21a184f461123bbdc7707353be3dbf (diff) | |
download | rneovim-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.h | 3 |
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 /// |