feat(ST2.GitPackages): bump up all packages
- Refresh PackageCache with latest versions of everything
This commit is contained in:
@@ -7,3 +7,6 @@ end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
|
@@ -1,5 +1,13 @@
|
||||
import sublime_plugin
|
||||
from editorconfig import get_properties, EditorConfigError
|
||||
|
||||
try:
|
||||
import os, sys
|
||||
# stupid python module system
|
||||
sys.path.append(os.path.dirname(os.path.realpath(__file__)))
|
||||
from .editorconfig import get_properties, EditorConfigError
|
||||
except:
|
||||
# Python 2
|
||||
from editorconfig import get_properties, EditorConfigError
|
||||
|
||||
|
||||
LINE_ENDINGS = {
|
||||
@@ -30,7 +38,7 @@ class EditorConfig(sublime_plugin.EventListener):
|
||||
try:
|
||||
config = get_properties(path)
|
||||
except EditorConfigError:
|
||||
print 'Error occurred while getting EditorConfig properties'
|
||||
print('Error occurred while getting EditorConfig properties')
|
||||
else:
|
||||
if config:
|
||||
if pre_save:
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
from editorconfig.versiontools import join_version
|
||||
|
||||
VERSION = (0, 11, 1, "final")
|
||||
VERSION = (0, 11, 3, "final")
|
||||
|
||||
__all__ = ['get_properties', 'EditorConfigError', 'exceptions']
|
||||
|
||||
|
@@ -40,7 +40,8 @@ class EditorConfigHandler(object):
|
||||
|
||||
"""
|
||||
|
||||
def __init__(self, filepath, conf_filename='.editorconfig', version=None):
|
||||
def __init__(self, filepath, conf_filename='.editorconfig',
|
||||
version=VERSION):
|
||||
"""Create EditorConfigHandler for matching given filepath"""
|
||||
self.filepath = filepath
|
||||
self.conf_filename = conf_filename
|
||||
@@ -110,7 +111,7 @@ class EditorConfigHandler(object):
|
||||
# Set indent_size to "tab" if indent_size is unspecified and
|
||||
# indent_style is set to "tab".
|
||||
if (opts.get("indent_style") == "tab" and
|
||||
not "indent_size" in opts and self.version >= VERSION[:3]):
|
||||
not "indent_size" in opts and self.version >= (0, 10, 0)):
|
||||
opts["indent_size"] = "tab"
|
||||
|
||||
# Set tab_width to indent_size if indent_size is specified and
|
||||
|
@@ -14,7 +14,7 @@ from editorconfig.exceptions import ParsingError, PathError, VersionError
|
||||
|
||||
|
||||
def version():
|
||||
print("Version %s" % __version__)
|
||||
print("EditorConfig Python Core Version %s" % __version__)
|
||||
|
||||
|
||||
def usage(command, error=False):
|
||||
|
@@ -1 +1 @@
|
||||
{"url": "http://sindresorhus.com", "version": "2013.03.18.18.13.22", "description": "Sublime Text plugin for EditorConfig - helps developers define and maintain consistent coding styles between different editors and IDEs"}
|
||||
{"url": "https://github.com/sindresorhus/editorconfig-sublime", "version": "2013.08.26.21.50.33", "description": "EditorConfig - helps developers define and maintain consistent coding styles between different editors and IDEs - Sublime plugin"}
|
@@ -5,16 +5,7 @@
|
||||
|
||||
## Install
|
||||
|
||||
|
||||
### Sublime Text 2
|
||||
|
||||
Install with [Package Control](http://wbond.net/sublime_packages/package_control)
|
||||
|
||||
|
||||
### Sublime Text 3
|
||||
|
||||
[Download](https://github.com/sindresorhus/editorconfig-sublime/archive/st3.zip), unzip, and put the contents in `~/Library/Application Support/Sublime Text 3/Packages/EditorConfig`.
|
||||
Will be easier when Package Control is fully compatible.
|
||||
Install `EditorConfig` with [Package Control](https://sublime.wbond.net) and restart Sublime.
|
||||
|
||||
|
||||
## Getting started
|
||||
@@ -66,8 +57,7 @@ This plugin does its changes transparently in the background. I would recommend
|
||||
|
||||
## License
|
||||
|
||||
[MIT License](http://en.wikipedia.org/wiki/MIT_License)
|
||||
(c) [Sindre Sorhus](http://sindresorhus.com)
|
||||
MIT License • © [Sindre Sorhus](http://sindresorhus.com)
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user