neovim config
Find a file
2021-10-20 09:53:36 -07:00
lua/cosmic chore(file-navigation): clean up preview title prop 2021-10-20 09:53:36 -07:00
.gitignore Init 🚀 2021-10-19 15:25:18 -07:00
init.lua Init 🚀 2021-10-19 15:25:18 -07:00
LICENSE Initial commit 2021-10-19 10:16:57 -07:00
readme.md chore(file-navigation): clean up preview title prop 2021-10-20 09:53:36 -07:00

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

Requires Neovim (>=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 LSPServers, :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