/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

Neovim Minimum Version GitHub last commit Discord Website

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

Install

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

Additional Cosmic installation details.

Additional LSP server installation details.

Configuration

Cosmic configurations

Plugin configurations

Add additional mappings

Add additional vim options

Treesitter Support

Enter :TSInstall followed by to see your options for additional language support.

Default Mappings

File Navigation

File explorer

Terminal

LSP

Other

📷 Screenshots

Statusline

normal insert visual replace

Autocomplete

autocomplete

Rename

Screen Shot 2021-11-01 at 9 42 21 PM

Rename change notification

Screen Shot 2021-11-01 at 9 38 32 PM

Hover

hover

Find Reference

reference

Code Action

code_action

File Navigation

find_files

Floating Terminal

terminal