Skip to content
Discussion options

You must be logged in to vote

This is because your snippet have only special characters, namely /, and *. See this related issue: #1688

In the meantime you could workaround this with the following config, this will trigger snippet source (so in your case luasnip) whenever your type *:

sources = {
  -- ...
  providers = {
    snippets = {
      override = {
        get_trigger_characters = function(_) return {'*'} end,
      },
    },
  },
},

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@justinluque
Comment options

Answer selected by justinluque
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants