LuaSnip icon indicating copy to clipboard operation
LuaSnip copied to clipboard

Document ft_func with an example

Open Flimm opened this issue 2 years ago • 3 comments

ft_func and load_ft_func need to be configured together. This commit updates the example to include both settings at once.

I know it's a small change, but it took me quite some time to work this out. So I hope the example configuration will be helpful to others and will save them time.

Flimm avatar Nov 22 '23 14:11 Flimm

Ah, sorry, it's hard to know wherebto omit for brevity and where just that could cost others time😅 Thank you for the change, I appreciate it!

Could you also add a comment that explains that without ft_func there will be no apparent effect on luasnips behaviour? (and squash, so it's one commit+doc-generation)

L3MON4D3 avatar Nov 22 '23 17:11 L3MON4D3

Ping If you don't have time, I can do the small modifications as well

L3MON4D3 avatar Dec 01 '23 16:12 L3MON4D3

Ping If you don't have time, I can do the small modifications as well

Yes, please! Thank you.

Flimm avatar Dec 05 '23 08:12 Flimm