Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
snippets:python:start [2015/11/29 14:10] – Fixed for highlighting devyncjohnson | snippets:python:start [2019/11/18 05:08] (current) – Remove double 'the' spotlightkid | ||
---|---|---|---|
Line 3: | Line 3: | ||
The Python snippets are inspired by Gedit. | The Python snippets are inspired by Gedit. | ||
- | Just copy the the [Special] and [Python] sections from the code below into your snippets file, e.g. in // | + | Just copy the [Special] and [Python] sections from the code below into your snippets file, e.g. in // |
- | < | + | < |
[Special] | [Special] | ||
wordchars=._abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 | wordchars=._abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 | ||
Line 38: | Line 38: | ||
Modified Specifically for Python3 and PEP8-compliant | Modified Specifically for Python3 and PEP8-compliant | ||
- | < | + | < |
utf8=#-*- coding: utf-8 -*-\n# vim: | utf8=#-*- coding: utf-8 -*-\n# vim: | ||
for=for i in xrange(%cursor%): | for=for i in xrange(%cursor%): |