Skip to content

Commit

Permalink
feat: added vue snippet for nuxt and took typescript javascript snipp…
Browse files Browse the repository at this point in the history
…et for vue

update

fix rafamadriz#385: add terraform snippets to package.json

snprintf() snippet incorrectly inserts sprintf() body

(c.json) improve function snips

Make former `fund` (-> `fun`) more universal
Also, make the prefixes more logical

(c.json) Add _GNU_SOURCE snippet

Snippet to enable GNU functions

(c.json) Update GNU_SOURCE description

Update the description to be more specific for newbies to C

Fixed for range loop in gdscript

add blade snippets (rafamadriz#374)

* add blade snippets

* fix json formatting

Add rfv for React, compatible with Vite (rafamadriz#384)

feat(global): Add UUID snippet (rafamadriz#386)

remove extra spaces in deployment and pod snippets (rafamadriz#390)

Reorder html5 document template (rafamadriz#393)

The encoding `<meta charset="UTF-8>` is usually declared before any text-containing elements such as the `<title>`.

p.s. Emmet follows this ordering too

feat: add snippet for debugpy remote attach (rafamadriz#397)

useful on remote debugging, especially on slurm

feat(kubernetes): set default container (rafamadriz#399)

* feat(kubernetes): set default container

According to https://github.com/kubernetes/enhancements/blob/master/keps/sig-cli/2227-kubectl-default-container/README.md

* feat(kubernetes): set default container for daemon set

Added Github Alerts (rafamadriz#402)

Added snippets for github alerts as in webpages

Removes snippets for vue2 (rafamadriz#396)

* vue2 is no longer supported as of December 31, 2023.

feat: add new snippet vue

fix: typo description reactive

chore: change name file vue readable

feat: add style.json, fix, refactoring snippet vue

fix: choice vue style

feat(editorconfig): add editorconfig snippets (rafamadriz#392)

* feat(editorconfig): add editorconfig snippets

feat(ruby): add binding.break snippet (rafamadriz#403)

Add PureScript snippets (rafamadriz#401)

* Add Purescript snippets

add new snippet for vue (rafamadriz#404)

* remove snippet vue 2 is dead

* feat: add new snippet vue

* fix: typo description reactive

* chore: change name file vue readable

* feat: add style.json, fix, refactoring snippet vue

* fix: choice vue style

fix: style tailwind aspec ratio

fix: error refVueTs

fix: snippet script.json

style: indent script.json

feat: add new snippet

feat: add new snippet vue

reset commit

feat: add snippet, fix code, and indent

chore: add snippet vue

style: fix indent all file vue

chore: add snippet vue

chore: fix bind :to nuxtlink

chore: add snippet script.json include js and ts

chore: add snippet vue html

chore: add defineModel to script.json

chore: add new snippet

feat: added vue snippet for nuxt and took typescript javascript snippet for vue

Remove some none (rafamadriz#409)

Co-authored-by: orion GONZALEZ (contractor) <orion.gonzalez@amadeus.com>

feat: mod test (rafamadriz#414)

- Adds the mod-test block snippet
- Updates the `match` snippet to be more general

todo instead of unimplemented (rafamadriz#415)

feat(asciidoc): add snippets (rafamadriz#419)

feat(markdown): use single space between columns in tables (rafamadriz#420)

docs(readme): update github admonition syntax (rafamadriz#422)

feat(gleam): add gleam snippets rafamadriz#418 (rafamadriz#423)

- Add snippet support for Gleam. The snippets are taken from
https://github.com/gleam-lang/vscode-gleam/blob/main/snippets.json

- Minor edit in `package.json`

feat: add snippets for most basic terraform blocks (rafamadriz#426)

* feat: add basic terraform snippets

* fix: remove periods in placeholder text

fix(markdown): use correct placeholder values for table 5x2 (rafamadriz#421)
  • Loading branch information
bobbyrahmanda13 committed Apr 1, 2024
1 parent 69a2c16 commit 958b754
Show file tree
Hide file tree
Showing 30 changed files with 4,430 additions and 1,831 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ Use your plugin manager of choice, e.g.
{ "rafamadriz/friendly-snippets" }
```

> **Warning**: If you're using LuaSnip make sure to use
> [!WARNING]
> If you're using LuaSnip make sure to use
> `require("luasnip.loaders.from_vscode").lazy_load()`, and add
> `friendly-snippets` as a dependency for LuaSnip, otherwise snippets might not
> be detected. If you don't use `lazy_load()` you might notice a slower
Expand Down Expand Up @@ -58,7 +59,8 @@ loading vscode snippets. Like for example:

## Add snippets from a framework to a filetype.

> **Note**: This is handled by your snippet engine and has nothing to do with this snippets collection
> [!NOTE]
> This is handled by your snippet engine and has nothing to do with this snippets collection
There's extra snippets included in this repo but they are not added by default,
since it would be irrelevant for people not using those frameworks. See
Expand All @@ -80,7 +82,8 @@ let g:vsnip_filetypes.ruby = ['rails']

## Excluding snippets

> **Note**: This is handled by your snippet engine and has nothing to do with this snippets collection
> [!NOTE]
> This is handled by your snippet engine and has nothing to do with this snippets collection
With LuaSnip, see `help luasnip-loaders`

Expand Down
52 changes: 47 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
"language": "csharpdoc",
"path": "./snippets/csharp/csharpdoc.json"
},
{
"language": "editorconfig",
"path": "./snippets/editorconfig.json"
},
{
"language": ["gitcommit", "NeogitCommitMessage"],
"path": "./snippets/gitcommit.json"
Expand Down Expand Up @@ -224,7 +228,8 @@
"eruby",
"javascriptreact",
"htmldjango",
"astro"
"astro",
"blade"
],
"path": "./snippets/html.json"
},
Expand Down Expand Up @@ -276,6 +281,10 @@
"language": ["javascriptreact", "typescriptreact"],
"path": "./snippets/javascript/react-es7.json"
},
{
"language": "terraform",
"path": "./snippets/terraform.json"
},
{
"language": "svelte",
"path": "./snippets/svelte.json"
Expand All @@ -286,20 +295,24 @@
},
{
"language": "vue",
"path": "./snippets/frameworks/vue/nuxt_html.json"
"path": "./snippets/frameworks/vue/nuxt-html.json"
},
{
"language": "vue",
"path": "./snippets/frameworks/vue/nuxt_js_ts.json"
"path": "./snippets/frameworks/vue/nuxt-script.json"
},
{
"language": "vue",
"path": "./snippets/frameworks/vue/javascript.json"
"path": "./snippets/frameworks/vue/script.json"
},
{
"language": "vue",
"path": "./snippets/frameworks/vue/vue.json"
},
{
"language": "vue",
"path": "./snippets/frameworks/vue/style.json"
},
{
"language": "angular",
"path": "./snippets/frameworks/angular/html.json"
Expand Down Expand Up @@ -417,9 +430,25 @@
"path": "./snippets/latex/bibtex.json"
},
{
"language": "twig",
"language": "twig",
"path": "./snippets/frameworks/twig.json"
},
{
"language": "blade",
"path": "./snippets/frameworks/blade/blade.json"
},
{
"language": "blade",
"path": "./snippets/frameworks/blade/helpers.json"
},
{
"language": "blade",
"path": "./snippets/frameworks/blade/livewire.json"
},
{
"language": "blade",
"path": "./snippets/frameworks/blade/snippets.json"
},
{
"language": ["r", "rmd"],
"path": "./snippets/r.json"
Expand Down Expand Up @@ -522,7 +551,20 @@
{
"language": "dune",
"path": "./snippets/ocaml/dune.json"
},
{
"language": "purescript",
"path": "./snippets/purescript.json"
},
{
"language": "gleam",
"path": "./snippets/gleam.json"
},
{
"language": "asciidoc",
"path": "./snippets/asciidoc.json"
}
]
}
}

Loading

0 comments on commit 958b754

Please sign in to comment.