- Code: Select all
[
{ "keys": ["enter"], "command": "comments_aware_enter", "context": [
{ "key": "selector", "operator": "equal", "operand": "comment.line" },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false }
] }
]
but I doesn't work when cursor is on the last line of a file. I tried commenting out
- Code: Select all
{ "key": "selector", "operator": "equal", "operand": "comment.line" },
then it starts to work.