/CosmicNvim

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

Primary LanguageLuaGNU General Public License v3.0GPL-3.0

💫 CosmicNvim

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.

Installation

Quick guide

Prerequisites

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

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 (hit enter to install)

Additional Cosmic installation details.

Additional LSP server installation details.

Mappings

File navigation

File explorer

Terminal

LSP

Other

📷 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