Sine qua non for Neovim.
This theme is dark-only and roughly tries to follow Tonsky's syntax-highlighting article.
You can use this repo as you would with any other Neovim theme.
{
inputs.snqn-nvim.url = "github:74k1/snqn-nvim";
# ...
}Then in Home Manager:
{
programs.neovim = {
enable = true;
package = pkgs.neovim-unwrapped;
plugins = [
{
plugin = inputs.snqn-nvim.packages.${pkgs.stdenv.hostPlatform.system}.default;
type = "lua";
config =
# lua
''
require("snqn").setup({
transparent = true,
})
vim.cmd('colorscheme snqn')
'';
}
# other plugins ...
];
};
}require("snqn").setup({
transparent = true,
transparent_highlights = false,
disable_semantic_tokens = true,
palettes = {
base0E = "#A37BFF",
-- and so on
},
highlight_overrides = function(colors, opts)
return {
CursorLineNr = {
fg = colors.comment,
bg = opts.transparent and "NONE" or colors.gutter,
},
}
end,
})transparent: make editor backgrounds transparenttransparent_highlights: also remove fills from highlight-style surfaces like selection/search/diff/diagnostic chipsdisable_semantic_tokens: disable LSP semantic token coloring on attach so Treesitter/theme colors stay in controlpalettes: override anybase00-base0Fcolorhighlight_overrides: override/add custom highlight groups
Copyright © 2026-present SNQN