Skip to content

Instantly share code, notes, and snippets.

@kylo252

kylo252/init.md Secret

Created April 11, 2022 12:11
Show Gist options
  • Save kylo252/1dcc3f9da60e42786d7088caa8441f67 to your computer and use it in GitHub Desktop.
Save kylo252/1dcc3f9da60e42786d7088caa8441f67 to your computer and use it in GitHub Desktop.
lsp docstring test for luasnip/init.lua
function get_active_snip()
  -> any

returns the currently active snippet (not node!).

function match_snippet(line: any, type: any)
  -> any

returns matching snippet (needs to be copied before usage!) and its expand- parameters(trigger and captures). params are returned here because there's no need to recalculate them.

function get_snippets(ft: any, opts: any)
  -> table

ft:

  • string: interpreted as filetype, return corresponding snippets.
  • nil: return snippets for all filetypes: { lua = {...}, cpp = {...}, ... } opts: optional args, can contain type, either "snippets" or "autosnippets".

return table, may be empty.

function get_context(snip: any)
  -> table
function available()
  -> table
function safe_jump(node: any, dir: any, no_move: any)
  -> any
function jump(dir: -1|1)
  -> boolean

check if the jump was successful.

dir: direction
    | -1 -- for previous
    | 1 -- for next
function jumpable(dir: -1|1)
  -> boolean

check if it's possible to jump forward or backward to another node.

dir: direction
    | -1 -- for previous
    | 1 -- for next
function expandable()
  -> boolean

check if a snippet can be expanded at the current cursor position.

function expand_or_jumpable()
  -> any
function in_snippet()
  -> boolean

returns true if the cursor is inside the current snippet.

function expand_or_locally_jumpable()
  -> any
function snip_expand(snippet: any, opts: any)
  -> any

opts.clear_region: table, keys from and to, both (0,0)-indexed.

function expand()
  -> boolean

expands the snippet at(before) the cursor

function expand_auto()
function expand_repeat()
function expand_or_jump()
  -> boolean

return true and expand snippet if expandable, return false if not.

function lsp_expand(body: any, opts: any)
function choice_active()
  -> boolean

returns true if inside a choiceNode.

function change_choice(val: any)
function unlink_current()
function active_update_dependents()
function store_snippet_docstrings(snippet_table: any)
function load_snippet_docstrings(snippet_table: any)
function unlink_current_if_deleted()

Checks if the current snippet was deleted, if so, it is removed from the jumplist This is not 100% reliable as luasnip only sees the extmarks and their begin/end may not be on the same position, even if all the text between them was deleted

function exit_out_of_region(node: any)
  -> boolean
function filetype_extend(ft: any, extend_ft: any)

ft string, extend_ft table of strings.

function filetype_set(ft: any, fts: any)

ft string, fts table of strings.

function cleanup()

clears all snippets. Not useful for regular usage, only when authoring and testing snippets

function refresh_notify(ft: string)

Triggers an autocmd that other plugins can hook into to perform various cleanup for the refreshed filetype Useful for signaling that new snippets were added for the filetype ft

@param ft — filetype

function setup_snip_env()
function get_id_snippet(id: any)
  -> any

returns snippet corresponding to id

function add_snippets(ft: any, snippets: any, opts: any)
function clean_invalidated(opts: any)

clean invalidated snippets from internal snippet storage. Invalidated snippets are still stored, it might be useful to actually remove them, as they still have to be iterated during expansion.

opts may contain:

  • inv_limit: how many invalidated snippets are allowed. If the number of invalid snippets doesn't exceed this threshold, they are not yet cleaned up.

A small number of invalidated snippets (<100) probably doesn't affect runtime at all, whereas recreating the internal snippet storage might.

{"contents":{"value":"```lua\nfunction get_active_snip()\n -> any\n```\n\n---\nreturns the currently active snippet (not node!).","kind":"markdown"},"range":{"start":{"line":15,"character":15},"end":{"line":15,"character":30}}}{"contents":{"value":"```lua\nfunction match_snippet(line: any, type: any)\n -> any\n```\n\n---\n returns matching snippet (needs to be copied before usage!) and its expand-\n parameters(trigger and captures). params are returned here because there's\n no need to recalculate them.","kind":"markdown"},"range":{"start":{"line":29,"character":15},"end":{"line":29,"character":28}}}{"contents":{"value":"```lua\nfunction get_snippets(ft: any, opts: any)\n -> table\n```\n\n---\n ft:\n * string: interpreted as filetype, return corresponding snippets.\n * nil: return snippets for all filetypes:\n {\n \tlua = {...},\n \tcpp = {...},\n \t...\n }\n opts: optional args, can contain `type`, either \"snippets\" or \"autosnippets\".\n\n return table, may be empty.","kind":"markdown"},"range":{"start":{"line":48,"character":15},"end":{"line":48,"character":27}}}{"contents":{"value":"```lua\nfunction get_context(snip: any)\n -> table\n```","kind":"markdown"},"range":{"start":{"line":54,"character":15},"end":{"line":54,"character":26}}}{"contents":{"value":"```lua\nfunction available()\n -> table\n```","kind":"markdown"},"range":{"start":{"line":64,"character":15},"end":{"line":64,"character":24}}}{"contents":{"value":"```lua\nfunction safe_jump(node: any, dir: any, no_move: any)\n -> any\n```","kind":"markdown"},"range":{"start":{"line":83,"character":15},"end":{"line":83,"character":24}}}{"contents":{"value":"```lua\nfunction jump(dir: -1|1)\n -> boolean\n```\n\n---\ncheck if the jump was successful.\n\n```lua\ndir: direction\n | -1 -- for previous\n | 1 -- for next\n```","kind":"markdown"},"range":{"start":{"line":115,"character":15},"end":{"line":115,"character":19}}}{"contents":{"value":"```lua\nfunction jumpable(dir: -1|1)\n -> boolean\n```\n\n---\ncheck if it's possible to jump forward or backward to another node.\n\n```lua\ndir: direction\n | -1 -- for previous\n | 1 -- for next\n```","kind":"markdown"},"range":{"start":{"line":133,"character":15},"end":{"line":133,"character":23}}}{"contents":{"value":"```lua\nfunction expandable()\n -> boolean\n```\n\n---\ncheck if a snippet can be expanded at the current cursor position.","kind":"markdown"},"range":{"start":{"line":140,"character":15},"end":{"line":140,"character":25}}}{"contents":{"value":"```lua\nfunction expand_or_jumpable()\n -> any\n```","kind":"markdown"},"range":{"start":{"line":148,"character":15},"end":{"line":148,"character":33}}}{"contents":{"value":"```lua\nfunction in_snippet()\n -> boolean\n```\n\n---\nreturns true if the cursor is inside the current snippet.","kind":"markdown"},"range":{"start":{"line":153,"character":15},"end":{"line":153,"character":25}}}{"contents":{"value":"```lua\nfunction expand_or_locally_jumpable()\n -> any\n```","kind":"markdown"},"range":{"start":{"line":167,"character":15},"end":{"line":167,"character":41}}}{"contents":{"value":"```lua\nfunction snip_expand(snippet: any, opts: any)\n -> any\n```\n\n---\n opts.clear_region: table, keys `from` and `to`, both (0,0)-indexed.","kind":"markdown"},"range":{"start":{"line":172,"character":15},"end":{"line":172,"character":26}}}{"contents":{"value":"```lua\nfunction expand()\n -> boolean\n```\n\n---\nexpands the snippet at(before) the cursor","kind":"markdown"},"range":{"start":{"line":240,"character":15},"end":{"line":240,"character":21}}}{"contents":{"value":"```lua\nfunction expand_auto()\n```","kind":"markdown"},"range":{"start":{"line":274,"character":15},"end":{"line":274,"character":26}}}{"contents":{"value":"```lua\nfunction expand_repeat()\n```","kind":"markdown"},"range":{"start":{"line":295,"character":15},"end":{"line":295,"character":28}}}{"contents":{"value":"```lua\nfunction expand_or_jump()\n -> boolean\n```\n\n---\n return true and expand snippet if expandable, return false if not.","kind":"markdown"},"range":{"start":{"line":304,"character":15},"end":{"line":304,"character":29}}}{"contents":{"value":"```lua\nfunction lsp_expand(body: any, opts: any)\n```","kind":"markdown"},"range":{"start":{"line":314,"character":15},"end":{"line":314,"character":25}}}{"contents":{"value":"```lua\nfunction choice_active()\n -> boolean\n```\n\n---\nreturns true if inside a choiceNode.","kind":"markdown"},"range":{"start":{"line":319,"character":15},"end":{"line":319,"character":28}}}{"contents":{"value":"```lua\nfunction change_choice(val: any)\n```","kind":"markdown"},"range":{"start":{"line":323,"character":15},"end":{"line":323,"character":28}}}{"contents":{"value":"```lua\nfunction unlink_current()\n```","kind":"markdown"},"range":{"start":{"line":334,"character":15},"end":{"line":334,"character":29}}}{"contents":{"value":"```lua\nfunction active_update_dependents()\n```","kind":"markdown"},"range":{"start":{"line":352,"character":15},"end":{"line":352,"character":39}}}{"contents":{"value":"```lua\nfunction store_snippet_docstrings(snippet_table: any)\n```","kind":"markdown"},"range":{"start":{"line":391,"character":15},"end":{"line":391,"character":39}}}{"contents":{"value":"```lua\nfunction load_snippet_docstrings(snippet_table: any)\n```","kind":"markdown"},"range":{"start":{"line":425,"character":15},"end":{"line":425,"character":38}}}{"contents":{"value":"```lua\nfunction unlink_current_if_deleted()\n```\n\n---\nChecks if the current snippet was deleted, if so, it is removed from the jumplist\nThis is not 100% reliable as luasnip only sees the extmarks and their begin/end may not be on the same\nposition, even if all the text between them was deleted","kind":"markdown"},"range":{"start":{"line":465,"character":15},"end":{"line":465,"character":40}}}{"contents":{"value":"```lua\nfunction exit_out_of_region(node: any)\n -> boolean\n```","kind":"markdown"},"range":{"start":{"line":492,"character":15},"end":{"line":492,"character":33}}}{"contents":{"value":"```lua\nfunction filetype_extend(ft: any, extend_ft: any)\n```\n\n---\n ft string, extend_ft table of strings.","kind":"markdown"},"range":{"start":{"line":537,"character":15},"end":{"line":537,"character":30}}}{"contents":{"value":"```lua\nfunction filetype_set(ft: any, fts: any)\n```\n\n---\n ft string, fts table of strings.","kind":"markdown"},"range":{"start":{"line":542,"character":15},"end":{"line":542,"character":27}}}{"contents":{"value":"```lua\nfunction cleanup()\n```\n\n---\nclears all snippets. Not useful for regular usage, only when authoring and testing snippets","kind":"markdown"},"range":{"start":{"line":547,"character":15},"end":{"line":547,"character":22}}}{"contents":{"value":"```lua\nfunction refresh_notify(ft: string)\n```\n\n---\nTriggers an autocmd that other plugins can hook into to perform various cleanup for the refreshed filetype\nUseful for signaling that new snippets were added for the filetype `ft`\n\n@*param* `ft` — filetype","kind":"markdown"},"range":{"start":{"line":557,"character":15},"end":{"line":557,"character":29}}}{"contents":{"value":"```lua\nfunction setup_snip_env()\n```","kind":"markdown"},"range":{"start":{"line":573,"character":15},"end":{"line":573,"character":29}}}{"contents":{"value":"```lua\nfunction get_id_snippet(id: any)\n -> any\n```\n\n---\nreturns snippet corresponding to id","kind":"markdown"},"range":{"start":{"line":578,"character":15},"end":{"line":578,"character":29}}}{"contents":{"value":"```lua\nfunction add_snippets(ft: any, snippets: any, opts: any)\n```","kind":"markdown"},"range":{"start":{"line":582,"character":15},"end":{"line":582,"character":27}}}{"contents":{"value":"```lua\nfunction clean_invalidated(opts: any)\n```\n\n---\nclean invalidated snippets from internal snippet storage.\nInvalidated snippets are still stored, it might be useful to actually remove\nthem, as they still have to be iterated during expansion.\n\n `opts` may contain:\n\n - `inv_limit`: how many invalidated snippets are allowed. If the number of\n \tinvalid snippets doesn't exceed this threshold, they are not yet cleaned up.\n\nA small number of invalidated snippets (<100) probably doesn't affect\nruntime at all, whereas recreating the internal snippet storage might.","kind":"markdown"},"range":{"start":{"line":624,"character":15},"end":{"line":624,"character":32}}}
{
kind = "markdown",
value = "```lua\nfunction get_active_snip()\n -> any\n```\n\n---\nreturns the currently active snippet (not node!)."
}{
kind = "markdown",
value = "```lua\nfunction match_snippet(line: any, type: any)\n -> any\n```\n\n---\n returns matching snippet (needs to be copied before usage!) and its expand-\n parameters(trigger and captures). params are returned here because there's\n no need to recalculate them."
}{
kind = "markdown",
value = '```lua\nfunction get_snippets(ft: any, opts: any)\n -> table\n```\n\n---\n ft:\n * string: interpreted as filetype, return corresponding snippets.\n * nil: return snippets for all filetypes:\n {\n \tlua = {...},\n \tcpp = {...},\n \t...\n }\n opts: optional args, can contain `type`, either "snippets" or "autosnippets".\n\n return table, may be empty.'
}{
kind = "markdown",
value = "```lua\nfunction get_context(snip: any)\n -> table\n```"
}{
kind = "markdown",
value = "```lua\nfunction available()\n -> table\n```"
}{
kind = "markdown",
value = "```lua\nfunction safe_jump(node: any, dir: any, no_move: any)\n -> any\n```"
}{
kind = "markdown",
value = "```lua\nfunction jump(dir: -1|1)\n -> boolean\n```\n\n---\ncheck if the jump was successful.\n\n```lua\ndir: direction\n | -1 -- for previous\n | 1 -- for next\n```"
}{
kind = "markdown",
value = "```lua\nfunction jumpable(dir: -1|1)\n -> boolean\n```\n\n---\ncheck if it's possible to jump forward or backward to another node.\n\n```lua\ndir: direction\n | -1 -- for previous\n | 1 -- for next\n```"
}{
kind = "markdown",
value = "```lua\nfunction expandable()\n -> boolean\n```\n\n---\ncheck if a snippet can be expanded at the current cursor position."
}{
kind = "markdown",
value = "```lua\nfunction expand_or_jumpable()\n -> any\n```"
}{
kind = "markdown",
value = "```lua\nfunction in_snippet()\n -> boolean\n```\n\n---\nreturns true if the cursor is inside the current snippet."
}{
kind = "markdown",
value = "```lua\nfunction expand_or_locally_jumpable()\n -> any\n```"
}{
kind = "markdown",
value = "```lua\nfunction snip_expand(snippet: any, opts: any)\n -> any\n```\n\n---\n opts.clear_region: table, keys `from` and `to`, both (0,0)-indexed."
}{
kind = "markdown",
value = "```lua\nfunction expand()\n -> boolean\n```\n\n---\nexpands the snippet at(before) the cursor"
}{
kind = "markdown",
value = "```lua\nfunction expand_auto()\n```"
}{
kind = "markdown",
value = "```lua\nfunction expand_repeat()\n```"
}{
kind = "markdown",
value = "```lua\nfunction expand_or_jump()\n -> boolean\n```\n\n---\n return true and expand snippet if expandable, return false if not."
}{
kind = "markdown",
value = "```lua\nfunction lsp_expand(body: any, opts: any)\n```"
}{
kind = "markdown",
value = "```lua\nfunction choice_active()\n -> boolean\n```\n\n---\nreturns true if inside a choiceNode."
}{
kind = "markdown",
value = "```lua\nfunction change_choice(val: any)\n```"
}{
kind = "markdown",
value = "```lua\nfunction unlink_current()\n```"
}{
kind = "markdown",
value = "```lua\nfunction active_update_dependents()\n```"
}{
kind = "markdown",
value = "```lua\nfunction store_snippet_docstrings(snippet_table: any)\n```"
}{
kind = "markdown",
value = "```lua\nfunction load_snippet_docstrings(snippet_table: any)\n```"
}{
kind = "markdown",
value = "```lua\nfunction unlink_current_if_deleted()\n```\n\n---\nChecks if the current snippet was deleted, if so, it is removed from the jumplist\nThis is not 100% reliable as luasnip only sees the extmarks and their begin/end may not be on the same\nposition, even if all the text between them was deleted"
}{
kind = "markdown",
value = "```lua\nfunction exit_out_of_region(node: any)\n -> boolean\n```"
}{
kind = "markdown",
value = "```lua\nfunction filetype_extend(ft: any, extend_ft: any)\n```\n\n---\n ft string, extend_ft table of strings."
}{
kind = "markdown",
value = "```lua\nfunction filetype_set(ft: any, fts: any)\n```\n\n---\n ft string, fts table of strings."
}{
kind = "markdown",
value = "```lua\nfunction cleanup()\n```\n\n---\nclears all snippets. Not useful for regular usage, only when authoring and testing snippets"
}{
kind = "markdown",
value = "```lua\nfunction refresh_notify(ft: string)\n```\n\n---\nTriggers an autocmd that other plugins can hook into to perform various cleanup for the refreshed filetype\nUseful for signaling that new snippets were added for the filetype `ft`\n\n@*param* `ft` — filetype"
}{
kind = "markdown",
value = "```lua\nfunction setup_snip_env()\n```"
}{
kind = "markdown",
value = "```lua\nfunction get_id_snippet(id: any)\n -> any\n```\n\n---\nreturns snippet corresponding to id"
}{
kind = "markdown",
value = "```lua\nfunction add_snippets(ft: any, snippets: any, opts: any)\n```"
}{
kind = "markdown",
value = "```lua\nfunction clean_invalidated(opts: any)\n```\n\n---\nclean invalidated snippets from internal snippet storage.\nInvalidated snippets are still stored, it might be useful to actually remove\nthem, as they still have to be iterated during expansion.\n\n `opts` may contain:\n\n - `inv_limit`: how many invalidated snippets are allowed. If the number of\n \tinvalid snippets doesn't exceed this threshold, they are not yet cleaned up.\n\nA small number of invalidated snippets (<100) probably doesn't affect\nruntime at all, whereas recreating the internal snippet storage might."
}
[{"lnum":16,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] get_active_snip","col":16,"kind":"Function"},{"lnum":30,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] match_snippet","col":16,"kind":"Function"},{"lnum":49,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] get_snippets","col":16,"kind":"Function"},{"lnum":55,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] get_context","col":16,"kind":"Function"},{"lnum":65,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] available","col":16,"kind":"Function"},{"lnum":84,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] safe_jump","col":16,"kind":"Function"},{"lnum":116,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] jump","col":16,"kind":"Function"},{"lnum":134,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] jumpable","col":16,"kind":"Function"},{"lnum":141,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] expandable","col":16,"kind":"Function"},{"lnum":149,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] expand_or_jumpable","col":16,"kind":"Function"},{"lnum":154,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] in_snippet","col":16,"kind":"Function"},{"lnum":168,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] expand_or_locally_jumpable","col":16,"kind":"Function"},{"lnum":173,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] snip_expand","col":16,"kind":"Function"},{"lnum":241,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] expand","col":16,"kind":"Function"},{"lnum":275,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] expand_auto","col":16,"kind":"Function"},{"lnum":296,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] expand_repeat","col":16,"kind":"Function"},{"lnum":305,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] expand_or_jump","col":16,"kind":"Function"},{"lnum":315,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] lsp_expand","col":16,"kind":"Function"},{"lnum":320,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] choice_active","col":16,"kind":"Function"},{"lnum":324,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] change_choice","col":16,"kind":"Function"},{"lnum":335,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] unlink_current","col":16,"kind":"Function"},{"lnum":353,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] active_update_dependents","col":16,"kind":"Function"},{"lnum":392,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] store_snippet_docstrings","col":16,"kind":"Function"},{"lnum":426,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] load_snippet_docstrings","col":16,"kind":"Function"},{"lnum":466,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] unlink_current_if_deleted","col":16,"kind":"Function"},{"lnum":493,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] exit_out_of_region","col":16,"kind":"Function"},{"lnum":538,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] filetype_extend","col":16,"kind":"Function"},{"lnum":543,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] filetype_set","col":16,"kind":"Function"},{"lnum":548,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] cleanup","col":16,"kind":"Function"},{"lnum":558,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] refresh_notify","col":16,"kind":"Function"},{"lnum":574,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] setup_snip_env","col":16,"kind":"Function"},{"lnum":579,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] get_id_snippet","col":16,"kind":"Function"},{"lnum":583,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] add_snippets","col":16,"kind":"Function"},{"lnum":625,"filename":"/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua","text":"[Function] clean_invalidated","col":16,"kind":"Function"}]
return { {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 16,
text = "[Function] get_active_snip"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 30,
text = "[Function] match_snippet"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 49,
text = "[Function] get_snippets"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 55,
text = "[Function] get_context"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 65,
text = "[Function] available"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 84,
text = "[Function] safe_jump"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 116,
text = "[Function] jump"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 134,
text = "[Function] jumpable"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 141,
text = "[Function] expandable"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 149,
text = "[Function] expand_or_jumpable"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 154,
text = "[Function] in_snippet"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 168,
text = "[Function] expand_or_locally_jumpable"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 173,
text = "[Function] snip_expand"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 241,
text = "[Function] expand"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 275,
text = "[Function] expand_auto"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 296,
text = "[Function] expand_repeat"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 305,
text = "[Function] expand_or_jump"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 315,
text = "[Function] lsp_expand"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 320,
text = "[Function] choice_active"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 324,
text = "[Function] change_choice"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 335,
text = "[Function] unlink_current"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 353,
text = "[Function] active_update_dependents"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 392,
text = "[Function] store_snippet_docstrings"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 426,
text = "[Function] load_snippet_docstrings"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 466,
text = "[Function] unlink_current_if_deleted"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 493,
text = "[Function] exit_out_of_region"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 538,
text = "[Function] filetype_extend"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 543,
text = "[Function] filetype_set"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 548,
text = "[Function] cleanup"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 558,
text = "[Function] refresh_notify"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 574,
text = "[Function] setup_snip_env"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 579,
text = "[Function] get_id_snippet"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 583,
text = "[Function] add_snippets"
}, {
col = 16,
filename = "/home/hatsu/.local/share/nvim/site/pack/packer/start/LuaSnip/lua/luasnip/init.lua",
kind = "Function",
lnum = 625,
text = "[Function] clean_invalidated"
} }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment