Skip to content

Snippets integration

Zeioth edited this page Aug 19, 2023 · 3 revisions

If you use LuaSnip or any other snippets engine, you can install the snippets library NormalSnippets to have auto completion when creating a .solution.toml file

-- Lazy package manager example:
-- Here we install NormalSnippets along with friendly-snippets.
{
  "L3MON4D3/LuaSnip",
  dependencies = {
    "rafamadriz/friendly-snippets",
    "Zeioth/NormalSnippets",
    "benfowler/telescope-luasnip.nvim",
  },
  opts = {}
},

Example

screenshot_2023-08-15_17-59-39_675242907

If you use NormalNvim, this feature come preinstalled.