Skip to content

This repository contains personalized configurations for nvim using Lua and NvChad ⚙️🪴

License

Notifications You must be signed in to change notification settings

andostronaut/nvim-config

Repository files navigation

Demo

This repository contains personalized configurations for nvim using Lua and NvChad ⚙️🪴

Setup Neovim

Setup Requires

Install Deps with Homebrew:

brew install node vim neovim tree-sitter git fd ripgrep lazygit lua luajit

Install the config

Make sure to remove or move your current nvim directory

git clone https://github.com/andostronaut/nvim-config.git ~/.config/nvim

Run nvim and wait for the plugins to be installed

Use Lazy vim

:Lazy

and to sync

:Lazy sync

Get healthy

Open nvim and enter the following:

:checkhealth

Install Mason LSP and Plugins

Mason is a package manager for Neovim that helps manage LSP servers, DAP servers, linters, and formatters.

To install and set up Mason:

  1. Open Neovim and run:

    :Mason
    

    This will open Mason's interface where you can browse and install packages.

  2. Install preconfigured tools by running:

    :MasonToolsInstall
    

The above will install commonly used development tools like:

  • Language servers (LSP)
  • Linters
  • Formatters

For troubleshooting, check Mason's logs with :MasonLog.

Setup Go on Neovim

Install binaries on running this command GoInstallBinaries

Uninstall nvim

# Linux / Macos (unix)
rm -rf ~/.config/nvim
rm -rf ~/.local/share/nvim

# Windows
rd -r ~\AppData\Local\nvim
rd -r ~\AppData\Local\nvim-data

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This repository contains personalized configurations for nvim using Lua and NvChad ⚙️🪴

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages