Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uga-rosa/snip2json
Convert ultisnips syntax snippets to LSP format json.
https://github.com/uga-rosa/snip2json
Last synced: about 2 months ago
JSON representation
Convert ultisnips syntax snippets to LSP format json.
- Host: GitHub
- URL: https://github.com/uga-rosa/snip2json
- Owner: uga-rosa
- License: mit
- Created: 2021-09-15T09:11:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-12T02:30:51.000Z (almost 2 years ago)
- Last Synced: 2024-08-07T18:45:22.318Z (5 months ago)
- Language: TypeScript
- Homepage:
- Size: 588 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# snip2json
Convert ultisnips syntax snippets to LSP format json.
# Usage
You need to install Deno runtime.
Add "path/to/snip2json/bin" to the user PATH.```
snip2json.ts
```Convert all files in the input directory.
## options
-s, --src
Set the input directory. Required.-t, --target
Set the output directory. Default: json## runnable example
In this repository, there are example can be convert.
```
snip2json.ts -s ./example/snip -t ./example/json
```