[vim] Fix error when dd the only line.
When the buffer has only one line, pressing 'dd' causes CodeMirror to throw an error "There is no line -1".
Loading
Please register or sign in to comment
When the buffer has only one line, pressing 'dd' causes CodeMirror to throw an error "There is no line -1".