Skip to content

Commit

Permalink
Rename lint command to markdown_lint
Browse files Browse the repository at this point in the history
  • Loading branch information
maliayas committed Mar 28, 2015
1 parent b05190a commit f2506cd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Default.sublime-commands
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
{
"caption": "MarkdownEditing: Markdown Lint",
"command": "lint"
"command": "markdown_lint"
},
{
"caption": "MarkdownEditing: Switch List Bullet Type",
Expand Down
2 changes: 1 addition & 1 deletion lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ def test(self, text, s, e):
return ret


class LintCommand(sublime_plugin.TextCommand):
class MarkdownLintCommand(sublime_plugin.TextCommand):

blockdef = []
scope_block = 'markup.raw.block.markdown'
Expand Down
5 changes: 4 additions & 1 deletion messages/2.1.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ feedback you can use [GitHub issues][issues].

## Changes

* Lint command is renamed to `markdown_lint` (was `lint` before). If you set
custom keybinding for that, you need to update it with the new command name.

* Hotkey for linting is now removed. The command name for linting is "lint".
You can always add the following configuration to your user keymap file to
enable it.

```json
{ "keys": ["ctrl+shift+m"], "command": "lint", "context":
{ "keys": ["ctrl+shift+m"], "command": "markdown_lint", "context":
[
{ "key": "selector", "operator": "equal", "operand": "text.html.markdown", "match_all": true }
]
Expand Down

0 comments on commit f2506cd

Please sign in to comment.