lvim config'
This commit is contained in:
parent
73d2dd1248
commit
cd32287b8f
2 changed files with 45 additions and 1 deletions
|
@ -8,7 +8,9 @@ Designed for Unix Systems.
|
||||||
* [Terminology for Linux](https://www.enlightenment.org/about-terminology.md)
|
* [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 asdf](https://asdf-vm.com/#/core-manage-asdf) version manager, configure with tools you'll need
|
||||||
* Install [NeoVim](https://neovim.io/)
|
* 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
|
* Install fzf
|
||||||
```bash
|
```bash
|
||||||
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
|
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
|
||||||
|
|
42
lvim.config
Normal file
42
lvim.config
Normal file
|
@ -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_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'},
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue