Added leetcode.nvim
This commit is contained in:
parent
b9a35b870c
commit
e490fb7b1f
2 changed files with 48 additions and 0 deletions
38
lua/rakshit/plugins/leetcode.lua
Normal file
38
lua/rakshit/plugins/leetcode.lua
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
return {
|
||||
"kawre/leetcode.nvim",
|
||||
build = ":TSUpdate html", -- if you have `nvim-treesitter` installed
|
||||
dependencies = {
|
||||
"nvim-telescope/telescope.nvim",
|
||||
-- "ibhagwan/fzf-lua",
|
||||
"nvim-lua/plenary.nvim",
|
||||
"MunifTanjim/nui.nvim",
|
||||
},
|
||||
opts = {
|
||||
lang = "python3",
|
||||
console = {
|
||||
open_on_runcode = true, ---@type boolean
|
||||
|
||||
dir = "row",
|
||||
|
||||
size = {
|
||||
width = "90%",
|
||||
height = "75%",
|
||||
},
|
||||
|
||||
result = {
|
||||
size = "60%",
|
||||
},
|
||||
|
||||
testcase = {
|
||||
virt_text = true,
|
||||
size = "40%",
|
||||
},
|
||||
},
|
||||
|
||||
description = {
|
||||
position = "left",
|
||||
width = "27%",
|
||||
show_stats = true,
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue