aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval/window.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-05-06 09:34:29 +0800
committerGitHub <noreply@github.com>2023-05-06 09:34:29 +0800
commite8661133c533345e8d83a38b077e45922988fa90 (patch)
tree05f32f244118b65f6a2ba3b99abc4e68476148b4 /src/nvim/eval/window.c
parentb99f13385cfd15e161b18f103a5e36469f49431f (diff)
downloadrneovim-e8661133c533345e8d83a38b077e45922988fa90.tar.gz
rneovim-e8661133c533345e8d83a38b077e45922988fa90.tar.bz2
rneovim-e8661133c533345e8d83a38b077e45922988fa90.zip
vim-patch:9.0.0904: various comment and indent flaws (#23498)
Problem: Various comment and indent flaws. Solution: Improve comments and indenting. https://github.com/vim/vim/commit/88456cd3c49a3dd1fda17cf350daa9b8216b1aa6 Omit test_function_lists.vim change as that file is likely not applicable to Nvim due to the existence of Nvim-only functions. Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/eval/window.c')
-rw-r--r--src/nvim/eval/window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/eval/window.c b/src/nvim/eval/window.c
index 9976c56879..30c295de46 100644
--- a/src/nvim/eval/window.c
+++ b/src/nvim/eval/window.c
@@ -98,6 +98,7 @@ win_T *win_id2wp(int id)
}
/// Return the window and tab pointer of window "id".
+/// Returns NULL when not found.
win_T *win_id2wp_tp(int id, tabpage_T **tpp)
{
FOR_ALL_TAB_WINDOWS(tp, wp) {