Health Check
Diagnostics and troubleshooting for SilkCircuit.
Running Health Check
:checkhealth silkcircuitThis command verifies your SilkCircuit installation and configuration.
Check Categories
The report is grouped into six sections. A full transcript is at the bottom of this page.
SilkCircuit
Reports the running Neovim version (0.10.0 or later is required), whether termguicolors is on, and whether SilkCircuit is the active colorscheme. A missing termguicolors is an error, since every highlight the theme sets is a 24-bit color.
If true colors aren't working:
- Add
vim.opt.termguicolors = trueto your config - Verify your terminal supports true colors
- Check the
$COLORTERMenvironment variable
Configuration
Echoes the four settings that change what gets painted: the active variant, transparent, terminal_colors, and dim_inactive.
Plugin integrations
Reports how many integrations the theme ships, how many of their plugins it can see on your runtime path, and which ones those are. Detection is for this report only and never gates loading, so an integration you have not installed still has its highlights defined. Any integration you switched off in setup() is listed as a warning.
User preferences
Shows the saved variant and glow setting if ~/.local/share/nvim/silkcircuit_preferences.json exists, and says so plainly when it doesn't.
WCAG contrast
Measures every distinct text color in the active variant against that variant's own background and reports how many clear WCAG AA at 4.5:1. Anything short of the ratio is listed individually as a warning or an error.
Commands
Lists the commands the plugin registered, as a reminder of what is available.
Common Issues
Theme Not Loading
Symptoms:
- Colors look wrong
- Default Neovim colors showing
Solutions:
- Verify installation:
:Lazy
" Check SilkCircuit is installed- Load colorscheme:
vim.cmd.colorscheme("silkcircuit")- Check for errors:
:messagesWrong Colors
Symptoms:
- Colors appear washed out
- Colors don't match screenshots
Solutions:
- Enable true colors:
vim.opt.termguicolors = true- Check terminal settings:
echo $COLORTERM
# Should show "truecolor"- Try a different terminal emulator
Slow Loading
Symptoms:
- Visible delay on startup that goes away when the colorscheme is disabled
Solutions:
- Measure it. Set
vim.g.silkcircuit_debug = trueand restart; the theme prints its own load time, which is about 5ms on a laptop. - If the number is far higher, another plugin is probably reloading the colorscheme repeatedly. Check
:autocmd ColorScheme. - Open an issue with the measured time and your plugin list.
Plugin Not Themed
Symptoms:
- Specific plugin uses wrong colors
- Plugin highlights don't match
Solutions:
- Check if plugin is supported:
:SilkCircuitIntegrations- Verify plugin is loaded before theme:
-- In lazy.nvim, set priority
{
"hyperb1iss/silkcircuit",
priority = 1000,
lazy = false,
}- Report missing integrations on GitHub
Contrast Issues
Symptoms:
- Text hard to read
- Health check shows contrast warnings
Solutions:
- Try a different variant:
:SilkCircuit glow " Maximum contrast
:SilkCircuit soft " Gentler contrast- Override specific highlights:
require("silkcircuit").setup({
on_highlights = function(hl, colors)
hl.Comment = { fg = "#888888" } -- Lighter comments
end,
})Debug Mode
Enable debug logging:
vim.g.silkcircuit_debug = trueView debug output:
:messagesGetting Help
- Run
:checkhealth silkcircuit - Check the GitHub Issues
- Include health check output in bug reports
Health Check Output Example
silkcircuit: require("silkcircuit.health").check()
SilkCircuit
- OK Neovim 0.12.5
- OK termguicolors is enabled
- OK SilkCircuit is the active colorscheme
Configuration
- OK Variant: neon
- OK Transparent: false
- OK Terminal colors: true
- OK Dim inactive: false
Plugin integrations
- OK 39 integrations available, 5 plugins detected
- OK Detected: cmp, gitsigns, lualine, telescope, treesitter
User preferences
- OK No saved preferences, using the configured values
WCAG contrast
- OK Checked 19 distinct text colors against the 'neon' background (#12101a)
- OK All 19 meet WCAG AA (4.5:1)
Commands
- OK :SilkCircuit [neon|vibrant|soft|glow|dawn] - switch variant
- OK :SilkCircuitGlow [on|off|toggle] - control glow mode
- OK :SilkCircuitContrast - check WCAG contrast
- OK :SilkCircuitIntegrations - show integration status
- OK :help |silkcircuit| - documentation