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
- Auto LSP installation with nvim-lsp-installer
- Autocompletion provided by nvim-cmp
- Additional TypeScript support with nvim-lsp-ts-utils
- Snippet support via LuaSnip
- Session management with auto-session
- Notifications via nvim-notify
- 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.
- Neovim (+0.6.0)
- Node.js
- prettierd (for prettier formatting w/efm, optional)
- eslint_d (for eslint w/efm, optional)
$ cd ~/.config
$ git clone git@github.com:mattleong/CosmicNvim.git nvim
$ nvim .
Additional Cosmic installation details.
Additional LSP server installation details.
Enter :TSInstall
followed by to see your options for additional language support.