Skip to content

How to insert lua code into a plugin's setupOpts #797

Answered by horriblename
mnpqraven asked this question in Q&A
Discussion options

You must be logged in to vote

lua code has to be wrapped with lib.generators.mkLuaInline

on_attach = lib.generators.mkLuaInline ''
  function() 
   .... 
  end
''

Replies: 3 comments 3 replies

Comment options

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

Answer selected by mnpqraven
Comment options

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

Comment options

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

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