A Neovim lua based config.
Only test with NVIM v0.9.2 on macOS Ventura 13.2.1
Clone this repo
git clone https://github.com/memoryInject/nvim-config.git ~/.config/nvim
When lauch Neovim for the first time with this config, it will install the plugin manager and all the plugins, LSP, DAP, Linters, Formatters automatically. Ignore any warnings during the first setup (sometimes Treesitter will show some errors and warnings).
This config come with preconfigured LSP, DAP, Linters and Formatters for:
- JavaScript
- TypeScrpt
- Python
- Lua
- Bash Script
- C/C++
- Rust (LSP, Linter and Formatter only)
- Chrome debugger for typescript(.ts) and typescriptreact(.tsx)
These are the main languages I use usually.
Run this command in Neovim to show all the preconfigured LSP, DAP, Linters and Formatters.
:Mason
Install pynvim: pip3 install pynvim
Note: pynvim
is required for vim-mundo plugin.
This config require custom configuration for DAP debug adapters.
- Make sure to install
ts-node
globally for TypeScript debug:npm i -g ts-node
- Install eslint
npm i -g eslint
- Make sure to install
gcc and gdb
. - Example to compile with gcc for debug:
gcc -g -o main main.c
Setup wsl-clipboard for system clipboard support: https://github.com/memoryInject/wsl-clipboard