aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/arabic.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-01-22 10:00:11 +0800
committerGitHub <noreply@github.com>2024-01-22 10:00:11 +0800
commit8c6de9147cabbf99d18afbdbed2f11f30c1d0dfc (patch)
treeb05e873236f53b2b9dc244c00f538eb47f45ab2f /src/nvim/arabic.c
parenta25aeee856e2fb02f93ffa5c2e5d43fd75ead2cf (diff)
parentfd08de4b85ae42fe3ad5b480b58df9f7fff76269 (diff)
downloadrneovim-8c6de9147cabbf99d18afbdbed2f11f30c1d0dfc.tar.gz
rneovim-8c6de9147cabbf99d18afbdbed2f11f30c1d0dfc.tar.bz2
rneovim-8c6de9147cabbf99d18afbdbed2f11f30c1d0dfc.zip
Merge pull request #26813 from VanaIgr/screen-pos-speedup
perf: make screen size and position calculations more efficient N/A patches for version.c: vim-patch:9.1.0037: Calling get_breakindent_win() repeatedly when computing virtcol vim-patch:9.1.0038: Unnecessary loop in getvcol()
Diffstat (limited to 'src/nvim/arabic.c')
-rw-r--r--src/nvim/arabic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/arabic.c b/src/nvim/arabic.c
index 665e61c277..4587415c3b 100644
--- a/src/nvim/arabic.c
+++ b/src/nvim/arabic.c
@@ -257,6 +257,7 @@ bool arabic_maycombine(int two)
}
/// Check whether we are dealing with Arabic combining characters.
+/// Returns false for negative values.
/// Note: these are NOT really composing characters!
///
/// @param one First character.