Closed ywpkwon closed 4 years ago
Hi @ywpkwon
Type :wq
to submit the test or :q!
to abort.
When you run :LeetCodeTest
, leetcode.vim will pop up a window containing the default test input or the test input that you used the last time. For example, the default test input of the String to Integer problem is "42"
.
You can put any input here, as long as it's valid for the problem. Say you want to test if your program works for "1234"
, you can replace the original text with "1234"
.
Ah, I didn't know there is an additional step (:wq
). It seems to work well. Thanks, @ianding1!
I tried the problem "String to Integer (atoi)" and I wanted to test a dummy code as below.
LeetCode webpage is supposed to show:
However, What I'm seeing in (neo)vim is just:
Is this right? What info is the plugin supposed to show? Is my setting wrong?