CosmicNvim is a lightweight and opinionated Neovim config for web development, specifically designed to provide a 💫 COSMIC programming experience!
Full featured native LSP functionality!
While CosmicNvim is geared specifically toward TypeScript/JavaScript development, it should be able to provide a great experience with any LSP supported language.
# move to config dir
cd ~/.config
# back up current config
cp -r nvim nvim.backup
# clone repository
git clone https://github.com/CosmicNvim/CosmicNvim.git nvim
# open nvim and install plugins
nvim
By default, this will assume the Cosmic git directory is placed at vim.fn.stdpath('config'), i.e. ~/.config/nvim.
If you are symlinking your pulled repo to ~/.config/nvim, you must define the shell environment variable
COSMICNVIM_INSTALL_DIR that points to your installation.
Additional CosmicNvim installation details.
Additional LSP server installation details.
CosmicNvim uninstallation details.
Plugin customization in lua/cosmic/config/config.lua uses:
plugins.add to add pluginsplugins.disable to disable plugins by repository ID (for example nvim-lualine/lualine.nvim)plugins.opts to merge optsplugins.override for full lazy.nvim spec overridesdisable_builtin_plugins has been removed.
Updates CosmicNvim to the latest version
:CosmicUpdate