kickstart.nvim/lua/custom/plugins/leetcode.lua

28 lines
592 B
Lua

local leet_arg = 'leetcode.nvim'
return {
'kawre/leetcode.nvim',
build = ':TSUpdate html',
dependencies = {
'nvim-telescope/telescope.nvim',
'nvim-lua/plenary.nvim', -- required by telescope
'MunifTanjim/nui.nvim',
-- optional
'nvim-treesitter/nvim-treesitter',
'rcarriga/nvim-notify',
'nvim-tree/nvim-web-devicons',
},
lazy = leet_arg ~= vim.fn.argv()[1],
opts = {
-- configuration goes here
opts = { arg = leet_arg },
lang = 'python3',
-- injector = {
-- ['python3'] = {
-- before = true,
-- },
-- },
},
}