I have implemented a basic splitting functionality where the problem description is opened in a new split above the code template split with size equal to the length of the problem description. Some buffer local options are set accordingly.
This resolves #28
Currently, the problem description split is of type nofile, therefore cannot be saved.
Another way of adding this feature would be to remove the _remove_description method before sending user code to leetcode. This way, leetcode will return appropriate line numbers. I am fine with either.
I have implemented a basic splitting functionality where the problem description is opened in a new split above the code template split with size equal to the length of the problem description. Some buffer local options are set accordingly.
This resolves #28
Currently, the problem description split is of type
nofile
, therefore cannot be saved.Another way of adding this feature would be to remove the
_remove_description
method before sending user code to leetcode. This way, leetcode will return appropriate line numbers. I am fine with either.