blob: 198534b5265573396a8d4698b4692ea335393a46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
local domain = require("clever_f.domain")
local M = {}
M.ExecutionPath = {
VISUAL = "visual",
COMMAND = "command",
}
function M.execution_path(context)
context = domain.ModeContext.from_full_mode(context)
if context.visual_kind ~= nil then
return M.ExecutionPath.VISUAL
end
return nil
end
return M
|