{"id":15198880,"url":"https://github.com/iron-e/nvim-highlite","last_synced_at":"2025-04-12T16:35:28.359Z","repository":{"id":40543615,"uuid":"273599166","full_name":"Iron-E/nvim-highlite","owner":"Iron-E","description":"A colorscheme generator that is \"lite\" on logic for the developer.","archived":false,"fork":false,"pushed_at":"2025-04-01T21:24:39.000Z","size":1268,"stargazers_count":244,"open_issues_count":1,"forks_count":31,"subscribers_count":2,"default_branch":"master-v4","last_synced_at":"2025-04-03T16:14:14.208Z","etag":null,"topics":["colors","colorscheme","diy","lua","luajit","neovim","neovim-plugin","nvim","nvim-plugin","plugin","template","treesitter"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Iron-E.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-19T22:42:23.000Z","updated_at":"2025-04-01T21:24:43.000Z","dependencies_parsed_at":"2023-12-18T22:23:01.963Z","dependency_job_id":"93c8b720-adaa-4c81-ba69-1a98a50ac98f","html_url":"https://github.com/Iron-E/nvim-highlite","commit_stats":{"total_commits":665,"total_committers":10,"mean_commits":66.5,"dds":0.05563909774436093,"last_synced_commit":"0dd4a4ab5892b02661ad18ceb9071428c3391a89"},"previous_names":[],"tags_count":86,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iron-E%2Fnvim-highlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iron-E%2Fnvim-highlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iron-E%2Fnvim-highlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iron-E%2Fnvim-highlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Iron-E","download_url":"https://codeload.github.com/Iron-E/nvim-highlite/tar.gz/refs/heads/master-v4","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248597115,"owners_count":21130813,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["colors","colorscheme","diy","lua","luajit","neovim","neovim-plugin","nvim","nvim-plugin","plugin","template","treesitter"],"created_at":"2024-09-28T01:43:02.987Z","updated_at":"2025-04-12T16:35:28.326Z","avatar_url":"https://github.com/Iron-E.png","language":"Lua","readme":"# nvim-highlite\n\n## Feature Overview\n\n* Use any of the built-in colorschemes using `:colorscheme`.\n* Easily write your own colorscheme by only specifying a few colors.\n* Import from formats other applications use to one that can be used with `nvim-highlite`.\n* Export _any_ colorscheme (even from other repositories) to formats other applications use.\n\n\u003c!-- panvimdoc-ignore-start --\u003e\n\n## Built-in Colorschemes\n\n\u003cdetails\u003e\n  \u003csummary\u003eClick to expand\u003c/summary\u003e\n\n  \u003cdetails\u003e\n    \u003csummary\u003e\u003ccode\u003ehighlite\u003c/code\u003e (the default)\u003c/summary\u003e\n    \u003cimg alt=\"highlite colorscheme lua preview\" src=\"https://user-images.githubusercontent.com/36409591/234727053-1928ec4a-f5f2-4d7e-8fff-4c5be981722b.png\"/\u003e\n  \u003c/details\u003e\n\n  \u003cdetails\u003e\n    \u003csummary\u003e\u003ccode\u003ehighlite-ayu\u003c/code\u003e (based on \u003ca href=\"https://github.com/ayu-theme/ayu-vim\"\u003eayu\u003c/a\u003e)\u003c/summary\u003e\n    \u003cimg alt=\"ayu colorscheme Lua preview\" src=\"https://user-images.githubusercontent.com/36409591/234727814-9613547d-4c96-4fca-8cf8-cfebcd8d9bff.png\"/\u003e\n  \u003c/details\u003e\n\n  \u003cdetails\u003e\n    \u003csummary\u003e\u003ccode\u003ehighlite-everforest\u003c/code\u003e (based on \u003ca href=\"https://github.com/sainnhe/everforest\"\u003eeverforest\u003c/a\u003e)\u003c/summary\u003e\n    \u003cimg alt=\"everforest colorscheme Lua preview\" src=\"https://user-images.githubusercontent.com/36409591/234728320-e53b5d64-5a03-464a-b307-f675e46cab04.png\"/\u003e\n  \u003c/details\u003e\n\n  \u003cdetails\u003e\n    \u003csummary\u003e\u003ccode\u003ehighlite-gruvbox\u003c/code\u003e (based on \u003ca href=\"https://github.com/morhetz/gruvbox\"\u003egruvbox\u003c/a\u003e)\u003c/summary\u003e\n    \u003cimg alt=\"gruvbox colorscheme Lua preview\" src=\"https://user-images.githubusercontent.com/36409591/234729912-003f3dec-bd0a-4de3-bd3f-9db3a5f5ca88.png\"/\u003e\n  \u003c/details\u003e\n\n  \u003cdetails\u003e\n    \u003csummary\u003e\u003ccode\u003ehighlite-gruvbox-material\u003c/code\u003e (based on \u003ca href=\"https://github.com/sainnhe/gruvbox-material\"\u003egruvbox-material\u003c/a\u003e)\u003c/summary\u003e\n    \u003cimg alt=\"gruvbox-material colorscheme Lua preview\" src=\"https://user-images.githubusercontent.com/36409591/234728429-d4eb5892-c4d0-45ec-9301-c0a322bc31f1.png\"/\u003e\n  \u003c/details\u003e\n\n  \u003cdetails\u003e\n    \u003csummary\u003e\u003ccode\u003ehighlite-iceberg\u003c/code\u003e (based on \u003ca href=\"https://github.com/cocopon/iceberg.vim\"\u003eiceberg\u003c/a\u003e)\u003c/summary\u003e\n    \u003cimg alt=\"iceberg colorscheme Lua preview\" src=\"https://user-images.githubusercontent.com/36409591/234730354-9de2b848-cf80-42c9-b402-07fe963480c1.png\"/\u003e\n  \u003c/details\u003e\n\n  \u003cdetails\u003e\n    \u003csummary\u003e\u003ccode\u003ehighlite-molokai\u003c/code\u003e (based on \u003ca href=\"https://github.com/tomasr/molokai\"\u003emolokai\u003c/a\u003e)\u003c/summary\u003e\n    \u003cimg alt=\"molokai colorscheme Lua preview\" src=\"https://user-images.githubusercontent.com/36409591/234731452-a22447e1-530f-4016-9f1f-eceeec6aaf47.png\"/\u003e\n  \u003c/details\u003e\n\n  \u003cdetails\u003e\n    \u003csummary\u003e\u003ccode\u003ehighlite-papercolor\u003c/code\u003e (based on \u003ca href=\"https://github.com/nlknguyen/papercolor-theme\"\u003epapercolor\u003c/a\u003e)\u003c/summary\u003e\n    \u003cimg alt=\"papercolor colorscheme Lua preview\" src=\"https://user-images.githubusercontent.com/36409591/234730471-0dcbaf2f-033e-4869-bf30-8777d8e21420.png\"/\u003e\n  \u003c/details\u003e\n\n  \u003cdetails\u003e\n    \u003csummary\u003e\u003ccode\u003ehighlite-seoul256\u003c/code\u003e (and \u003ccode\u003elight\u003c/code\u003e; based on \u003ca href=\"https://github.com/junegunn/seoul256.vim\"\u003eseoul256\u003c/a\u003e)\u003c/summary\u003e\n    \u003cimg alt=\"seoul256 colorscheme Lua preview\" src=\"https://user-images.githubusercontent.com/36409591/234756608-8088f64d-4ce0-41a5-8eff-3b6615e15fa6.png\"/\u003e\n  \u003c/details\u003e\n\n  \u003cdetails\u003e\n    \u003csummary\u003e\u003ccode\u003ehighlite-solarized8\u003c/code\u003e (and \u003ccode\u003eflat\u003c/code\u003e and \u003ccode\u003ehigh\u003c/code\u003e; based on \u003ca href=\"https://github.com/lifepillar/vim-solarized8\"\u003esolarized8\u003c/a\u003e)\u003c/summary\u003e\n    \u003cimg alt=\"solarized8 colorscheme Lua preview\" src=\"https://user-images.githubusercontent.com/36409591/234731873-d61ad8f0-a738-48f6-a6f8-dd7e8ab0ddf6.png\"/\u003e\n  \u003c/details\u003e\n\n  \u003cdetails\u003e\n    \u003csummary\u003e\u003ccode\u003ehighlite-sonokai\u003c/code\u003e (based on \u003ca href=\"https://github.com/sainnhe/sonokai\"\u003esonokai\u003c/a\u003e)\u003c/summary\u003e\n    \u003cimg alt=\"sonokai colorscheme Lua preview\" src=\"https://user-images.githubusercontent.com/36409591/234730590-1767229b-db0d-4375-9e7e-16afd4f2cc0f.png\"/\u003e\n  \u003c/details\u003e\n\u003c/details\u003e\n\n\u003c!-- panvimdoc-ignore-end --\u003e\n\n## Introduction\n\n`nvim-highlite` is a colorscheme generator with great defaults.\n\nThe _defaults_ focuses on:\n\n1. Compatibility with [semantic highlighting](https://medium.com/@evnbr/coding-in-color-3a6db2743a1e).\n    * I was using colorschemes that often did not provide enough colors to provide distinction between tokens.\n2. Visibility in any range of blue-light.\n    * I use `redshift` often, and many colorschemes did not allow for me to see when I had lower color temperatures.\n\nThe _generator_ focuses on:\n\n1. Rapid development.\n    * Many times, all you need to do is pass in your colors and the highlight groups will be generated for you.\n2. Utilities for working with highlight groups.\n    * Clone, extend, or merge groups in order to customize what the generator creates for you.\n\n## Installation\n\nRequires the following:\n\n* Neovim 0.8+\n\n\u003e **Note**\n\u003e\n\u003e If you don't use `termguicolors`, see [How Can I Get This Plugin To Work _Without_ `termguicolors`?][no-guicolors]\n\n### lazy.nvim\n\nI recommend using [lazy.nvim][lazy]:\n\n```lua\nrequire('lazy').setup {\n  {'Iron-E/nvim-highlite',\n    config = function(_, opts)\n      -- OPTIONAL: setup the plugin. See \"Configuration\" for information\n      require('highlite').setup {generator = {plugins = {vim = false}, syntax = false}}\n\n      -- or one of the alternate colorschemes (see the \"Built-in Colorschemes\" section)\n      vim.api.nvim_command 'colorscheme highlite'\n    end,\n    lazy = false,\n    priority = math.huge,\n    version = '^4.0.0',\n  },\n}\n```\n\n### Others\n\n1. Install a plugin manager such as [`packer.nvim`](https://github.com/wbthomason/packer.nvim):\n    ```lua\n    -- packer.nvim example\n    local install_path = vim.fn.stdpath('data')..'/site/pack/packer/opt/packer.nvim'\n\n    if not vim.loop.fs_stat(vim.fn.glob(install_path)) then\n      vim.fn.system {'git', 'clone', 'https://github.com/wbthomason/packer.nvim', install_path}\n    end\n\n    vim.api.nvim_command 'packadd packer.nvim'\n\n    return require('packer').startup {function(use)\n      use {'wbthomason/packer.nvim', opt = true}\n      use {'Iron-E/nvim-highlite', branch = 'master-v4'}\n    end}\n    ```\n2. Optional – setup the plugin (see [Configuration](#configuration) for more info):\n    ```lua\n    require('highlite').setup {generator = {plugins = {vim = false}, syntax = false}}\n    ```\n3. Specify this colorscheme as your default colorscheme:\n    ```lua\n    vim.api.nvim_command 'colorscheme highlite'\n    ```\n\n## Configuration\n\nYou can configure what highlight groups get generated for both built-in and your custom colorschemes. Do this by calling `setup` _before_ executing `:colorscheme` for any colorscheme created with `nvim-highlite`.\n\nThe available options are explained in the following sections. Note that the more you *dis*able, the faster your startup time will be.\n\n### Generator\n\nControls what highlight groups get created by the plugin.\n\n\u003e **Note**\n\u003e\n\u003e All integrations are enabled by default, and the `setup` table accepts a deny list. If you instead want to use an allow list, you can do something like this instead:\n\u003e\n\u003e ```lua\n\u003e local allow_list = {__index = function() return false end}\n\u003e require('highlite').setup {\n\u003e   generator = {\n\u003e     plugins = {\n\u003e       nvim = {packer = false}, -- use all but packer\n\u003e       vim = setmetatable({coc = true}, allow_list), -- only use `coc`\n\u003e     },\n\u003e     syntax = setmetatable({man = true}, allow_list), -- only use `man` sytnax highlighting\n\u003e   },\n\u003e }\n\u003e ```\n\n#### Plugins\n\nControls generating highlighting for plugins. You can disable all integrations:\n\n```lua\nrequire('highlite').setup {generator = {plugins = false}}\n```\n\n…or, to disable specific plugins, see [Neovim](#neovim) and [Vim](#vim).\n\n##### Neovim\n\nControls generation for neovim plugins. You can disable all neovim plugin integrations:\n\n```lua\nrequire('highlite').setup {\n  generator = {\n    plugins = {nvim = false},\n  },\n}\n```\n\n…or, to disable generation for certain plugins:\n\n```lua\nrequire('highlite').setup {\n  generator = {\n    plugins = {nvim = {packer = false}},\n  },\n}\n```\n\n###### List of Neovim Plugins\n\n\u003cdetails\u003e\n\n\u003c!-- panvimdoc-ignore-start --\u003e\n\n  \u003csummary\u003eClick to expand\u003c/summary\u003e\n\n\u003c!-- panvimdoc-ignore-end --\u003e\n\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/stevearc/aerial.nvim\"\u003e\n      aerial\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/romgrk/barbar.nvim\"\u003e\n      barbar\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/kevinhwang91/nvim-bqf\"\u003e\n      bqf\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/hrsh7th/nvim-cmp/\"\u003e\n      cmp\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/ibhagwan/fzf-lua\"\u003e\n      fzf\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/lewis6991/gitsigns.nvim\"\u003e\n      gitsigns\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/lukas-reineke/indent-blankline.nvim\"\u003e\n      indent_blankline\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/folke/lazy.nvim\"\u003e\n      lazy\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/ggandor/leap.nvim\"\u003e\n      leap\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/neovim/nvim-lspconfig\"\u003e\n      lspconfig\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/nvimdev/lspsaga.nvim\"\u003e\n      lspsaga\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/ray-x/lsp_signature.nvim\"\u003e\n      lsp_signature\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/echasnovski/mini.nvim\"\u003e\n      mini\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/nvim-neo-tree/neo-tree.nvim\"\u003e\n      neo_tree\n    \u003cli\u003e\u003ca href=\"https://github.com/nvim-neotest/neotest\"\u003e\n      neotest\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/nvim-tree/nvim-tree.lua\"\u003e\n      nvim_tree\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/wbthomason/packer.nvim\"\u003e\n      packer\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/tversteeg/registers.nvim\"\u003e\n      registers\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/simrat39/symbols-outline.nvim\"\u003e\n      symbols_outline\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/nvim-telescope/telescope.nvim\"\u003e\n      telescope\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/folke/todo-comments.nvim\"\u003e\n      todo_comments\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/nvim-treesitter/nvim-treesitter-context\"\u003e\n      treesitter_context\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/folke/trouble.nvim\"\u003e\n      trouble\n    \u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n##### Vim\n\nControls generation for vim plugins. You can disable all vim plugin integrations:\n\n```lua\nrequire('highlite').setup {\n  generator = {\n    plugins = {vim = false},\n  },\n}\n```\n\n…or, to disable generation for certain plugins:\n\n```lua\nrequire('highlite').setup {\n  generator = {\n    plugins = {vim = {ale = false}}\n  },\n}\n```\n\n###### List of Vim Plugins\n\n\u003cdetails\u003e\n\n\u003c!-- panvimdoc-ignore-start --\u003e\n\n  \u003csummary\u003eClick to expand\u003c/summary\u003e\n\n\u003c!-- panvimdoc-ignore-end --\u003e\n\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/dense-analysis/ale\"\u003e\n      ale\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/neoclide/coc.nvim\"\u003e\n      coc\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/kristijanhusak/vim-dadbod-ui\"\u003e\n      dadbod_ui\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/easymotion/vim-easymotion\"\u003e\n      easymotion\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/lambdalisue/fern.vim\"\u003e\n      fern\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/airblade/vim-gitgutter\"\u003e\n      gitgutter\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/thaerkh/vim-indentguides\"\u003e\n      indent_guides\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/zsugabubus/vim-jumpmotion\"\u003e\n      jumpmotion\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/preservim/nerdtree\"\u003e\n      nerdtree\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/machakann/vim-sandwich\"\u003e\n      sandwich\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/mhinz/vim-signify\"\u003e\n      signify\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/machakann/vim-swap\"\u003e\n      swap\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/mbbill/undotree\"\u003e\n      undotree\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/dstein64/vim-win\"\u003e\n      win\n    \u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n#### Syntax\n\nControls generating legacy syntax highlighting. You can disable generation for all filetypes:\n\n```lua\nrequire('highlite').setup {\n  generator = {syntax = false},\n}\n```\n\n…or, to disable generation for certain filetypes:\n\n```lua\nrequire('highlite').setup {\n  generator = {\n    syntax = {dosini = false, git = false},\n  },\n}\n```\n\n\u003e **Note**\n\u003e\n\u003e Treesitter highlighting is always enabled. You can safely disable `:syntax` highlighting if you only use treesitter.\n\n##### List of Syntax Filetypes\n\n\u003cdetails\u003e\n\n\u003c!-- panvimdoc-ignore-start --\u003e\n\n  \u003csummary\u003eClick to expand\u003c/summary\u003e\n\n\u003c!-- panvimdoc-ignore-end --\u003e\n\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/whonore/Coqtail\"\u003e\n      coq\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/bfrg/vim-cpp-modern\"\u003e\n      cpp\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\n      cs\n    \u003c/li\u003e\n    \u003cli\u003e\n      css\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/dart-lang/dart-vim-plugin\"\u003e\n      dart\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\n      dosini\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/liuchengxu/graphviz\"\u003e\n      dot\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\n      editorconfig\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/tpope/vim-git\"\u003e\n      git\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/fatih/vim-go\"\u003e\n      go\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\n      help\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/othree/html5\"\u003e\n      html\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/mboughaba/i3config\"\u003e\n      i3config\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/uiiaoo/java-syntax\"\u003e\n      java\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/pangloss/vim-javascript\"\u003e\n      javascript\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/elzr/vim-json\"\u003e\n      json\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/tbastos/vim-lua\"\u003e\n      lua\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\n      make\n    \u003c/li\u003e\n    \u003cli\u003e\n      man\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/plasticboy/vim-markdown\"\u003e\n      markdown\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/vim-python/python-syntax\"\u003e\n      python\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/jlcrochet/vim-razor\"\u003e\n      razor\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/vim-ruby/vim-ruby\"\u003e\n      ruby\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/Iron-E/rust.vim/tree/feature/struct-definition-identifiers\"\u003e\n      rust\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\n      scala\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/cakebaker/scss-syntax\"\u003e\n      scss\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/arzg/vim-sh\"\u003e\n      sh\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\n      solidity\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/shmup/vim-sql-syntax\"\u003e\n      sql\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/lervag/vimtex\"\u003e\n      tex\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/Iron-E/vim-toml/tree/feature/delimiter-highlighting\"\u003e\n      toml\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\n      vim\n    \u003c/li\u003e\n    \u003cli\u003e\n      xdefaults\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/amadeus/vim-xml\"\u003e\n      xml\n    \u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\n      xxd\n    \u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/Iron-E/vim-yaml/tree/patch-1\"\u003e\n      yaml\n    \u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n### Terminal Palette\n\nColors for Neovim's `:terminal` are automatically set for all built-in colorschemes (see `:h terminal-config`). To disable this, do the following:\n\n```lua\nrequire('highlite').setup {terminal_palette = false}\n```\n\n## Usage\n\n### Built-in Colorschemes\n\nTo use one of the built-in colorschemes, simply do:\n\n```lua\nvim.api.nvim_command 'colorscheme \u003cname\u003e'\n```\n\n\u003e **Warning**\n\u003e\n\u003e If you _want_ to configure this plugin, make sure you do so before executing `:colorscheme`! See [Configuration](#configuration) for more.\n\n### Exporting Colorschemes\n\n\u003e **Note**\n\u003e\n\u003e This specific feature requires Neovim 0.9+\n\nThis plugin has the ability to export _any_ colorscheme (not just ours!) to various formats, including:\n\n* `bat` theme (tmTheme; also works for Sublime Text)\n* `fish` theme (`set_color`)\n* `nvim` theme (Lua)\n* `vim` theme (Vimscript)\n* `wezterm` theme (TOML)\n\nTo make use of this, just run this after installing the plugin:\n\n```lua\nrequire('highlite.export').\u003cformat\u003e(\n  '\u003ccolorscheme name\u003e',\n  -- all settings below are OPTIONAL\n  {\n    -- controls the directory where the exported colorscheme will be written.\n    dir = '~/.config/nvim/colors/',\n\n    -- controls the name of the file that is created, as well as the name of the\n    -- output colorscheme.\n    filename = 'foo',\n\n    -- skip exporting certain groups. Currently only works for the `nvim` and `vim` targets\n    filter = function(group, default_filter)\n      return default_filter(group) or (group:find '^Nvim' or group:find '^Redraw') ~= nil\n    end,\n\n    -- if `false`, an existing target file will not be overwritten. Instead, a\n    -- file with a similar name will be created.\n    force = true,\n\n    -- if `true`, the function will not notify you when it is finished.\n    silent = false,\n  }\n)\n```\n\nIf your plugin manager supports update hooks (e.g. `lazy.nvim`, `packer.nvim`, `vim-plug`) you can run this function whenever a given colorscheme plugin updates.\n\nFor example, to generate a Wezterm theme from [tokyonight.nvim](https://github.com/folke/tokyonight.nvim) whenever it updates, you can do something like this (example for [lazy.nvim][lazy]):\n\n```lua\n{'folke/tokyonight.nvim',\n  build = function() require('highlite.export').wezterm('tokyonight', {force = true}) end,\n  config = function() vim.api.nvim_command 'colorscheme tokyonight' end,\n  dependencies = 'Iron-E/nvim-highlite',\n  priority = 1000,\n}\n```\n\n\u003e **Warning**\n\u003e\n\u003e If you use `lazy.nvim`'s `build` option to export colorschemes, it is possible that the background color might not export correctly. See folke/lazy.nvim#753 for details and a workaround.\n\n### Importing/Writing Colorschemes\n\nTo create your own colorscheme, or import an existing one, see [the advanced usage guide][usage].\n\n## Contribution\n\nSee the [contributing guide][contributing].\n\n## Limitations\n\n### `cterm` Colors\n\nThe generator, for simplicity and speed purposes, does not include `cterm` highlight groups. This was also partially motivated by a [survey of configurations](https://gist.github.com/echasnovski/fa70dc75c475369747d2a485a13303fb). However, you _can_ make this plugin work with `cterm` colors! See [How Can I Get This Plugin To Work _Without_ `termguicolors`?][no-guicolors]\n\n### Generated Terminal Palettes\n\nWhile `nvim-highlite` _provides_ terminal palettes for all built-in colorschemes, `nvim-highlite` cannot _generate_ new terminal palettes because of the difference in how terminal palettes and `nvim-highlite`'s palletes are defined:\n\n* terminal palettes are created specifying the RGB color value of specific color names (e.g. \"red\" = \"#FF0000\"), and\n* `nvim-highlite`'s palettes are defined by assigning an RGB color value to semantic categories (e.g. `keyword` = \"#4422AA\").\n\nThis is a problem because there is no association between token types (e.g. `error`, `func`) and the color value (e.g. \"#A80000\", \"#CF55F0\"). Thus, there's no *performant* way to assign a color to e.g. \"red\".\n\nSee [Creating A Terminal Palette](./doc/advanced-usage.md#1b-creating-a-terminal-palette-optional) for a tutorial on how to write one yourself, or [mini.colors][mini.colors] for a supplementary plugin that can generate this palette for you.\n\n## FAQ\n\n### \"How can I get this plugin to work _without_ `termguicolors`?\"\n\nYou can use [mini.colors][mini.colors]— it will infer a cterm palette based on the GUI colors from _any_ colorscheme.\n\nTo use it, do this instead of `:colorscheme \u003cname\u003e`:\n\n```lua\n-- replace `\u003cname\u003e` with the name of any of the builtin colorschemes\nrequire('mini.colors').get_colorscheme('\u003cname\u003e'):add_cterm_attributes():apply()\n```\n\nIf your plugin manager has update hooks (e.g. vim-plug, packer.nvim, lazy.nvim) you can save performance by doing the above _once_ every update. Here is an example for [lazy.nvim][lazy]:\n\n```lua\n{'Iron-E/nvim-highlite',\n  build = function()\n    require('mini.colors')\n      -- replace `\u003cname\u003e` with the name of any of the builtin colorschemes\n      .get_colorscheme('\u003cname\u003e', {new_name = 'my-custom-colorscheme'})\n      :add_cterm_attributes()\n      :write()\n  end,\n  config = function() vim.api.nvim_command 'colorscheme my-custom-colorscheme' end,\n  dependencies = 'echasnovski/mini.colors',\n  priority = 1000,\n}\n```\n\n\u003e **Warning**\n\u003e\n\u003e If you use `lazy.nvim`'s `build` option to export colorschemes, it is possible that the background color might not export correctly. See folke/lazy.nvim#753 for details and a workaround.\n\n### \"How can I override highlights in my `init.lua`?\"\n\nYou can either write your own colorscheme, or add an `autocmd` to your config. Both have merits: a custom colorscheme has better performance, but an `autocmd` will work with multiple colorschemes (if you like to switch between them).\n\n\u003e **Note**\n\u003e\n\u003e For information about creating your own colorscheme, see [the docs][usage].\n\nYou can add an `autocmd` to your config like this:\n\n```lua\nvim.api.nvim_create_autocmd('ColorScheme', {\n  callback = function()\n    vim.api.nvim_set_hl(0, 'Error', {fg = '#000000', bg = '#FFFFFF'})\n    -- other groups\n  end,\n  group = vim.api.nvim_create_augroup('config', {clear = true}),\n  pattern = 'highlite', -- apply to just the highlite colorscheme\n  -- pattern = {'highlite', 'tokyonight'}, -- apply to highlite and tokyonight\n  -- pattern = '*', -- apply to all colorschemes\n})\n\n-- WARN: make sure the colorscheme gets loaded AFTER setting the autocommand!\nvim.api.nvim_command 'colorscheme highlite'\n```\n\nOf course, substitute `highlite` with the name of your colorscheme.\n\n\u003c!-- panvimdoc-ignore-start --\u003e\n\n### \"How does this compare to `XYZ` plugin?\"\n\nIt doesn't seem right as a plugin author to weigh the benefits of others' work. Instead, here are some facts notable about `nvim-highlite`:\n\n* You only need 6 colors to create a colorscheme, but you can use as many as you want.\n    * Want to use 1,000 colors? Go for it.\n* _Great_ effort has been taken to reduce the startup cost of this plugin.\n* While our semantic color palette prevents _generating_ a terminal palette, it makes creating a new colorscheme easier.\n    * __Remember:__ all built-in colorschemes come with a terminal palette.\n* This plugin can import any colorscheme written in a language Neovim supports, and give it support for the latest highlights.\n    * VimScript colorschemes usually become faster when ported, and sometimes Lua colorschemes do too.\n    * Contributors can use specially-made internal tools which automate certain development tasks.\n* This plugin provides a great starting point for a custom colorscheme:\n    * all of the built-in highlight groups;\n    * diagnostics, LSP, treesitter;\n    * custom support for 20+ plugins (not counting ones that work out of the box); and\n    * custom support for 30+ filetypes (not counting ones that work out of the box).\n* If something isn't to your liking, there are many tools for the purpose of customizing what is provided.\n  * The syntax is familiar, simple, orthogonal, and completely stable.\n\nIf this plugin doesn't suit your needs, here is a list of excellent alternatives:\n\n* [echasnovski/mini.base16](https://github.com/echasnovski/mini.base16)\n* [rktjmp/lush.nvim](https://github.com/rktjmp/lush.nvim)\n* [themercorp/themer.lua](https://github.com/themercorp/themer.lua)\n\n### \"What font is that in the screenshots?\"\n\nJetBrains Mono.\n\n\u003c!-- panvimdoc-ignore-end --\u003e\n\n\n```{.include}\n./doc/advanced-usage.md\n./doc/contributing.md\n```\n\n[built-in-colorschemes]: #built-in-colorschemes\n[contributing]: ./doc/contributing.md\n[lazy]: https://github.com/folke/lazy.nvim\n[mini.colors]: https://github.com/echasnovski/mini.colors\n[no-guicolors]: #how-can-i-get-this-plugin-to-work-without-termguicolors\n[usage]: ./doc/advanced-usage.md\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firon-e%2Fnvim-highlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firon-e%2Fnvim-highlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firon-e%2Fnvim-highlite/lists"}