mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 17:03:39 +02:00
refactor(nlua): cleanup
This commit is contained in:
parent
14f3f036e9
commit
ba4b8dfecb
1 changed files with 0 additions and 19 deletions
|
@ -1,24 +1,5 @@
|
||||||
local Util = require("lazyvim.util")
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"mfussenegger/nvim-dap",
|
"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 = {
|
dependencies = {
|
||||||
{
|
{
|
||||||
"jbyuki/one-small-step-for-vimkind",
|
"jbyuki/one-small-step-for-vimkind",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue