friendly-snippets icon indicating copy to clipboard operation
friendly-snippets copied to clipboard

[Feat request] Move Lorem Ipsum snippets out from global

Open RenjiSann opened this issue 1 year ago • 3 comments

Hi !

I know this is looks like Déjà-vu ( #255 ), but I keep inserting unwanted Lorem Ipsum paragraphs everywhere, which is not very practical.

Wouldn't it be better to move the loremIpsum snippets to their own files ?

RenjiSann avatar Oct 08 '23 11:10 RenjiSann

Seconding this request, I've run into this many times too. Text files are created all the times in people's workflow, the lorem ipsum placeholder text however, is rarely used by anyone.

surmish avatar Nov 30 '23 00:11 surmish

Perhaps an alternative is to allow exclusion of the entire global.json, for example like this

require('luasnip').config.setup({
  exclude = { 'global' },
})

Anthirian avatar Dec 21 '23 21:12 Anthirian

Adding my voice to this.

createchange avatar Jan 03 '24 12:01 createchange

this seems reasonable, I'm gonna put lorem ipsum snippets into its own file and don't add it into package.json. If someone wants those, they will have to manually load those snippets.

If someone wants to send PR, you're welcome

rafamadriz avatar Jan 24 '24 12:01 rafamadriz

Can we close this issue or is there still a PR/ updates to the documentation we'd like to see?

OkelleyDevelopment avatar Mar 04 '24 04:03 OkelleyDevelopment

Closing as the issue has been inactive. If further discussion is needed please re-open :+1:

OkelleyDevelopment avatar Mar 31 '24 19:03 OkelleyDevelopment