Skip to content

removes call to luasnip config as it overwrites user config #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

taDachs
Copy link

@taDachs taDachs commented Jul 30, 2023

Calling the luasnip setup function in the plugins init overwrites settings made by the user.

@taDachs taDachs force-pushed the removes-luasnip-config-call branch from caa5dc2 to 724d521 Compare July 30, 2023 12:47
@iurimateus
Copy link
Owner

iurimateus commented Aug 9, 2023

I don't think so? See https://github.com/L3MON4D3/LuaSnip/blob/master/lua/luasnip/config.lua#L187

The only option it'll override is enable_autosnippets.

While I agree the user should opt in to 'autosnippets', this is a breaking change, so I'll sit on this for a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants