Module rime.session

wrap rime.Session()

Functions

M.Session:new (session)
M.Session:get_current_schema (...) wrap session.get_current_schema()
M.Session:select_schema (...) wrap session.select_schema()
M.Session:process_key (...) wrap session.process_key()
M.Session:get_context (...) wrap session.get_context()
M.Session:get_commit (...) wrap session.get_commit()
M.Session:commit_composition (...) wrap session.commit_composition()
M.Session:clear_composition (...) wrap session.commit_composition()
M.Session:get_schema_name () get schema name
M.Session:get_commit_text () get rime commit
M.Session:parse_key (name) process key.
M.Session:get_full_context (input) get context with all candidates, useful for lua.rime.nvim.cmp


Functions

M.Session:new (session)

Parameters:

  • session table?

Returns:

    table session
M.Session:get_current_schema (...)
wrap session.get_current_schema()

Parameters:

  • ...
M.Session:select_schema (...)
wrap session.select_schema()

Parameters:

  • ...
M.Session:process_key (...)
wrap session.process_key()

Parameters:

  • ...
M.Session:get_context (...)
wrap session.get_context()

Parameters:

  • ...
M.Session:get_commit (...)
wrap session.get_commit()

Parameters:

  • ...
M.Session:commit_composition (...)
wrap session.commit_composition()

Parameters:

  • ...
M.Session:clear_composition (...)
wrap session.commit_composition()

Parameters:

  • ...
M.Session:get_schema_name ()
get schema name

Returns:

    string name
M.Session:get_commit_text ()
get rime commit

Returns:

    string text
M.Session:parse_key (name)
process key. wrap session:process_key()

Parameters:

  • name string

Returns:

    boolean
M.Session:get_full_context (input)
get context with all candidates, useful for lua.rime.nvim.cmp

Parameters:

  • input string

Returns:

    table
generated by LDoc 1.5.0 Last updated 2025-12-25 12:32:44