1
1
Fork 0
dotfiles/lvim.config
2024-02-17 12:36:53 -06:00

42 lines
1 KiB
Text

vim.opt.relativenumber = true
lvim.transparent_window = true
vim.g.codestats_api_key = 'SFMyNTY.WjJGcFpYUjUjI01qSXhPVFU9.fMtCrS4QvdQKCgS_pasnqpWGUyrk3At646kPkN7LIn8'
lvim.plugins = {
{ "dracula/vim" },
{ url = "https://gitlab.com/code-stats/code-stats-vim.git"}
}
vim.cmd[[colorscheme dracula]]
lvim.colorscheme = "dracula"
local dap = require('dap')
dap.configurations.typescript = {
{
name = "Launch",
type = "node2",
request = "launch",
cwd = vim.loop.cwd(),
runtimeArgs = { "-r", "ts-node/register" },
runtimeExecutable = "node",
args = {"--inspect", "${file}"},
sourceMaps = true,
skipFiles = { "<node_internals>/**", "node_modules/**" },
}, {
name = "Attach",
type = "node2",
request = "attach",
processId = require 'dap.utils'.pick_process,
}
}
dap.adapters.node2 = {
type = 'executable',
command = 'node',
args = {os.getenv('HOME') .. '/dev/microsoft/vscode-node-debug2/out/src/nodeDebug.js'},
}