stylua added rule

This commit is contained in:
2026-06-20 03:44:26 +02:00
parent 907b234eb7
commit 6fb33b02cd
13 changed files with 154 additions and 145 deletions
+9 -2
View File
@@ -7,7 +7,10 @@ dap.adapters.python = function(cb, config)
local host = (config.connect or config).host or "127.0.0.1"
cb {
type = "server",
port = assert(port, "`connect.port` is required for a python `attach` configuration"),
port = assert(
port,
"`connect.port` is required for a python `attach` configuration"
),
host = host,
options = { source_filetype = "python" },
}
@@ -59,7 +62,11 @@ dap.configurations.cpp = {
type = "lldb",
request = "launch",
program = function()
return vim.fn.input("Path to executable: ", vim.fn.getcwd() .. "/", "file")
return vim.fn.input(
"Path to executable: ",
vim.fn.getcwd() .. "/",
"file"
)
end,
cwd = "${workspaceFolder}",
stopOnEntry = false,