nvim/readme.md

3.8 KiB

CosmicNvim

Welcome! CosmicNvim is a lightweight and opinionated Neovim config for web development, specifically designed to provide a COSMIC programming experience!

🚀 Stellar Features

Native LSP

Full featured native LSP functionality!

  • 📘 Go-to definition
  • 🔍 Find references/type def/declaration
  • 💡 Code actions
  • 🚨 Statusline diagnostics
  • ⚠️ Linting thanks to eslint
  • 🔧 Formatting thanks to efm
Additional features

While CosmicNvim is geared specifically toward TypeScript/JavaScript development, it should be able to provide a great experience with any LSP supported language.

How to install

Runs best on Neovim (>=0.6.0) but requires (>=0.5.1)

Using stow

  $ git clone git@github.com:mattleong/CosmicNvim.git
  $ mkdir ~/.config/nvim
  $ stow -t ~/.config/nvim CosmicNvim

Symlinking (don't use relative pathing)

  $ cd ~/
  $ git clone git@github.com:mattleong/CosmicNvim.git
  $ ln -s ~/.config/nvim ~/CosmicNvim

Just clone it

  $ cd ~/.config
  $ git clone git@github.com:mattleong/CosmicNvim.git nvim

First run

You will need to set up Packers compiled file via the steps below:

  1. Start NVIM
  2. Run PackerUpdate & PackerCompile
  3. Restart NVIM
  4. Install LSP servers, :LspInstallInfo or :LspInstall tsserver

Install script coming soon...

📷 Screenshots

Statusline

normal insert visual replace

Autocomplete

autocomplete

Rename

rename

Hover

hover

Find Reference

reference

Code Action

code_action

File Navigation

find_files

Floating Terminal

terminal