diff options
author | Michael Reed <m.reed@mykolab.com> | 2015-01-11 20:05:26 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-01-26 20:02:53 -0500 |
commit | 75a1006a20c5be7add44ed709ad34ae9fb3fce7b (patch) | |
tree | 5896dda106406f9b52aa1d917706c8d1a14a62b3 /src/nvim/api/tabpage.c | |
parent | 6425627c3fe1d4c0a88b7309f248f57490b874fd (diff) | |
download | rneovim-75a1006a20c5be7add44ed709ad34ae9fb3fce7b.tar.gz rneovim-75a1006a20c5be7add44ed709ad34ae9fb3fce7b.tar.bz2 rneovim-75a1006a20c5be7add44ed709ad34ae9fb3fce7b.zip |
api/*.c: Comment cleanup
- @justinmk: Clarify comments
- Match verbiage used in other api/*.c files
- Fix a few typos/missing words
Diffstat (limited to 'src/nvim/api/tabpage.c')
-rw-r--r-- | src/nvim/api/tabpage.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/api/tabpage.c b/src/nvim/api/tabpage.c index cb06825731..1c958118e1 100644 --- a/src/nvim/api/tabpage.c +++ b/src/nvim/api/tabpage.c @@ -9,11 +9,11 @@ #include "nvim/memory.h" #include "nvim/window.h" -/// Gets the number of windows in a tabpage +/// Gets the windows in a tabpage /// /// @param tabpage The tabpage /// @param[out] err Details of an error that may have occurred -/// @return The number of windows in `tabpage` +/// @return The windows in `tabpage` ArrayOf(Window) tabpage_get_windows(Tabpage tabpage, Error *err) { Array rv = ARRAY_DICT_INIT; @@ -37,7 +37,7 @@ ArrayOf(Window) tabpage_get_windows(Tabpage tabpage, Error *err) return rv; } -/// Gets a tabpage variable +/// Gets a tab-scoped (t:) variable /// /// @param tabpage The tab page handle /// @param name The variable name @@ -54,7 +54,7 @@ Object tabpage_get_var(Tabpage tabpage, String name, Error *err) return dict_get_value(tab->tp_vars, name, err); } -/// Sets a tabpage variable. Passing 'nil' as value deletes the variable. +/// Sets a tab-scoped (t:) variable. 'nil' value deletes the variable. /// /// @param tabpage handle /// @param name The variable name |