kawre / leetcode.nvim

A Neovim plugin enabling you to solve LeetCode problems.
MIT License
655 stars 34 forks source link

[feature request] `Leet open` to open the current question in browser #54

Closed Rusteam closed 4 months ago

Rusteam commented 5 months ago

Great tool! I enjoy using it.

A small request is sometimes, I want to check editorials or discussions within the leetcode.com platform and it would save few clicks if there was a command to open a current question in browser.

I'm willing to contribute with some guidance.

kawre commented 5 months ago

Sounds great,

Rusteam commented 4 months ago

Seems pretty clear from the code structure.

However, I'm quite new to the nvim ecosystem and I struggle to run this plugin locally. Do you mind telling me how to test this plugin locally before making any changes.

kawre commented 4 months ago

You need to fork this repository into config.dev.path specified inside lazy.nvim config. Then all you have to do is set dev = true in your leetcode.nvim lazy config. https://github.com/folke/lazy.nvim?tab=readme-ov-file#-plugin-spec

Rusteam commented 4 months ago

Ok, I will try it