neovim config
lua/cosmic | ||
.gitignore | ||
init.lua | ||
LICENSE | ||
readme.md |
✨ 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
- 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
- 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.
How to install
Runs best on Neovim (>=0.6.0) but requires (>=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:
- Start NVIM
- Run
PackerUpdate
&PackerCompile
- Restart NVIM
- Install LSP servers,
:LspInstallInfo
or:LspInstall tsserver
Install script coming soon...
Mappings
📷 Screenshots
Statusline
Autocomplete
