diff --git a/README.md b/README.md index b3865a9..293213e 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,9 @@ Designed for Unix Systems. * [Terminology for Linux](https://www.enlightenment.org/about-terminology.md) * [Install asdf](https://asdf-vm.com/#/core-manage-asdf) version manager, configure with tools you'll need * Install [NeoVim](https://neovim.io/) -* Install [LunarVim](https://www.lunarvim.org/) (`lvim` to run) +* Install [LunarVim](https://www.lunarvim.org/) + `lvim` to run + Additional config in `lvim.config` * Install fzf ```bash git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf diff --git a/lvim.config b/lvim.config new file mode 100644 index 0000000..904a05e --- /dev/null +++ b/lvim.config @@ -0,0 +1,42 @@ +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_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'}, +} +