CosmicNvim is a lightweight and opinionated Neovim config for web development, specifically designed to provide a 💫 COSMIC programming experience!
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
- Amazing colors thanks to tokyonight.nvim
- Enhanced syntax highlighting with nvim-treesitter
- Hand-built statusline with galaxyline
- Explore files with nvim-tree
- Fuzzy finder and some LSP actions with Telescope
- Floating terminal with vim-floaterm
- Easy LSP installation with nvim-lsp-installer
- Autocompletion provided by nvim-cmp
- Snippet support via LuaSnip
- Session management with auto-session
- Additional custom highlighting
- Floating windows for references, renaming, diagnostics, code actions and more!
While CosmicNvim is geared specifically toward TypeScript/JavaScript development, it should be able to provide a great experience with any LSP supported language.
$ cd ~/.config
$ git clone git@github.com:mattleong/CosmicNvim.git nvim
You will need to set up Packers compiled file via the steps below:
- Start NVIM
- Run
PackerUpdate
&PackerCompile
- Restart NVIM
- Install LSP servers,
:LspInstallInfo
(hit enter to install)
Additional Cosmic installation details.
Additional LSP server installation details.