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/indent_c.c | |
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/indent_c.c')
-rw-r--r-- | src/nvim/indent_c.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/indent_c.c b/src/nvim/indent_c.c index 37a76542d4..1671bf009a 100644 --- a/src/nvim/indent_c.c +++ b/src/nvim/indent_c.c @@ -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" |