irongit

A Neovim plugin enabling you to solve LeetCode problems.

15 lines332 BLua
1---@class lc.Hooks
2local hooks = {}
3
4hooks["question_enter"] = {
5 function(q)
6 -- https://github.com/kawre/leetcode.nvim/issues/14
7 if q.lang == "rust" then
8 pcall(function()
9 require("rust-tools.standalone").start_standalone_client()
10 end)
11 end
12 end,
13}
14
15return hooks