I am using this key binding for my plugin github.com/Suor/CommentsAwareEnter
{ "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
{ "key": "selector", "operator": "equal", "operand": "comment.line" },
then it starts to work.