We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
view
1 parent c04796e commit effdbc5Copy full SHA for effdbc5
init.lua
@@ -95,10 +95,8 @@ function M.complete_lua()
95
if (not ok or type(result) ~= 'table') and symbol ~= '' then return end
96
local cmpls = {}
97
part = '^' .. part
98
- if not ok or symbol == 'buffer' then
99
- local sci = _SCINTILLA
100
- local global_envs = not ok and {_G} or
101
- (op == ':' and {sci.functions} or {sci.properties, sci.constants})
+ if not ok or symbol == 'buffer' or symbol == 'view' then
+ local global_envs = not ok and {_G} or {_SCINTILLA} -- undocumented
102
for i = 1, #global_envs do
103
for k in pairs(global_envs[i]) do
104
if type(k) == 'string' and k:find(part) then cmpls[#cmpls + 1] = k end
0 commit comments