luasnip

URL: https://github.com/l3mon4d3/luasnip/

Maintainers: Heitor Augusto

plugins.luasnip.enable

Whether to enable luasnip.

Type: boolean

Default: false

Example: true

Declared by:

plugins.luasnip.package

The luasnip package to use.

Type: package

Default: pkgs.vimPlugins.luasnip

Declared by:

plugins.luasnip.filetypeExtend

Wrapper for the filetype_extend function. Keys are filetypes (filetype) and values are list of filetypes (["ft1" "ft2" "ft3"]).

Tells luasnip that for a buffer with ft=filetype, snippets from extend_filetypes should be searched as well.

For example, filetypeExtend.lua = ["c" "cpp"] would search and expand c and cpp snippets for lua files.

Type: attribute set of list of string

Default: { }

Example:

{
  lua = [
    "c"
    "cpp"
  ];
}

Declared by: