aboutsummaryrefslogtreecommitdiff
path: root/core/.view.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/.view.lua')
-rw-r--r--core/.view.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/.view.lua b/core/.view.lua
index ff8a1cf7..2214463f 100644
--- a/core/.view.lua
+++ b/core/.view.lua
@@ -13,9 +13,11 @@ module('view')
-- It also represents the structure of any view table in 'views'.
-- @class table
-- @name view
+-- @field doc_pointer The pointer to the document associated with this view's
+-- buffer. (Used internally; read-only)
-- @field size The integer position of the split resizer (if this view is part
-- of a split view).
-view = { size = nil }
+view = { doc_pointer = nil, size = nil }
---
-- Splits the indexed view vertically or horizontally and focuses the new view.