-
Notifications
You must be signed in to change notification settings - Fork 473
CosmoX edited this page May 8, 2018
·
18 revisions
Lepton depends on GitHub API to detect the language. If it fails, the snippet's language is marked as "Other". However, we can put // vim: syntax=<your_language>
at the top to explicitly specify the language.
// vim: syntax=javascript
let test = 'This is a javascript file'
Limited by GitHub API, Lepton supports searching for following fields.
- filename
- description
- tag
- gist id
[title] description #tag1 #tag2
Place your proxy configurations in ~/.leptonrc
. Update the "address" field to your own proxy.
"proxy": {
"enable": true,
"address": "socks://localhost:1080"
}
Check out the .leptonrc template to explore more configuration options.
We DON'T accept donation personally. If you like, feel free to donate to Wikimedia Foundation, which helps sustain free knowledge through Wikipedia and its sister projects for people around the world. You are welcome to create an issue to share how much you have contributed.