2.6 KiB
2.6 KiB
Installation Guide
This guide will help you install and configure the CargDev-Cyberpunk.nvim color scheme.
Prerequisites
- Neovim 0.8.0 or higher
- A plugin manager (Packer, Lazy.nvim, vim-plug, etc.)
Quick Installation
Using Lazy.nvim (Recommended)
Add this to your Neovim configuration:
-- In your init.lua or plugins.lua
{
'cargdev-cyberpunk.nvim',
config = true,
priority = 1000, -- Load early
}
Using Packer
-- In your init.lua or plugins.lua
use {
'cargdev-cyberpunk.nvim',
config = function()
require('cargdev-cyberpunk').setup()
end
}
Using vim-plug
" In your .vimrc or init.vim
Plug 'cargdev-cyberpunk.nvim'
Then in your Neovim configuration:
require('cargdev-cyberpunk').setup()
Manual Installation
- Clone the repository:
git clone https://github.com/yourusername/cargdev-cyberpunk.nvim ~/.local/share/nvim/site/pack/plugins/start/cargdev-cyberpunk.nvim
- Add to your Neovim configuration:
require('cargdev-cyberpunk').setup()
Configuration
Basic Configuration
require('cargdev-cyberpunk').setup()
Advanced Configuration
require('cargdev-cyberpunk').setup({
-- Configuration options will be added in future versions
})
Verification
To verify the installation:
- Open Neovim
- Open a TypeScript file (like the example in
examples/sample.ts) - You should see vibrant colors applied to different syntax elements
Test the Installation
You can run the test file to verify everything is working:
-- In Neovim, run:
:lua dofile('test/test_colors.lua')
Troubleshooting
Colors not appearing
- Make sure you have Treesitter installed and configured
- Ensure LSP is properly set up for TypeScript
- Check that the plugin is loaded correctly
Plugin not found
- Verify the plugin is installed in the correct directory
- Check your plugin manager configuration
- Restart Neovim after installation
Performance issues
- The color scheme is optimized for performance
- If you experience issues, try disabling other color schemes
- Ensure you're using Neovim 0.8.0 or higher
Uninstallation
To remove the color scheme:
- Remove the plugin from your plugin manager
- Remove any configuration lines from your Neovim config
- Restart Neovim
Support
If you encounter issues:
- Check the Issues page
- Create a new issue with:
- Your Neovim version
- Plugin manager and configuration
- Error messages
- Steps to reproduce
Contributing
See the main README.md for contribution guidelines.