mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 00:49:03 +02:00
refactor(nlua): cleanup
This commit is contained in:
parent
204be37843
commit
5b51df3f39
1 changed files with 0 additions and 19 deletions
|
@ -1,24 +1,5 @@
|
|||
local Util = require("lazyvim.util")
|
||||
|
||||
return {
|
||||
"mfussenegger/nvim-dap",
|
||||
|
||||
launch = function(host, port)
|
||||
if vim.g.nlua then
|
||||
return
|
||||
end
|
||||
vim.o.cmdheight = 10
|
||||
local osv = require("osv")
|
||||
osv.launch({
|
||||
port = port,
|
||||
host = host,
|
||||
args = { "--cmd", "lua vim.g.nlua = true", "--cmd", "set cmdheight=10" },
|
||||
})
|
||||
vim.defer_fn(function()
|
||||
vim.cmd([[luafile %]])
|
||||
end, 2000)
|
||||
end,
|
||||
|
||||
dependencies = {
|
||||
{
|
||||
"jbyuki/one-small-step-for-vimkind",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue