mirror of https://github.com/LazyVim/starter
29 lines
662 B
Lua
29 lines
662 B
Lua
-- Options are automatically loaded before lazy.nvim startup
|
|
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
|
|
-- Add any additional options here
|
|
|
|
if vim.fn.has("gui_running") == 1 then
|
|
vim.o.clipboard = ""
|
|
end
|
|
vim.o.guifont = "Monaco:h16"
|
|
vim.cmd("set wrap")
|
|
local dap = require("dap")
|
|
|
|
dap.adapters.python = {
|
|
type = "executable",
|
|
command = "python",
|
|
args = { "-m", "debugpy.adapter" },
|
|
}
|
|
|
|
dap.configurations.python = {
|
|
{
|
|
type = "python",
|
|
request = "launch",
|
|
name = "Launch file",
|
|
program = "${file}",
|
|
pythonPath = function()
|
|
return "python"
|
|
end,
|
|
},
|
|
}
|