fluoromachine.nvim

fluoromachine.nvim

Neovim 复古未来主义配色方案

fluoromachine.nvim 是一款 Neovim 配色方案,基于 Synthwave84 开发,融合 80 年代复古未来主义风格。该方案为代码编辑器增添霓虹效果和科幻氛围,提供多种主题和透明背景选项。插件支持广泛的 Neovim 生态系统,并允许用户自定义颜色和高亮组,以创建独特的编码环境。

Fluoromachine配色方案Neovim插件复古未来主义代码编辑器主题Github开源项目
<div align="center"> <img src="https://github.com/maxmx03/fluoromachine.nvim/assets/50273941/d26acf04-13e0-433e-8820-49eddcd8f887" height="250" width="250" /> <h1>荧光机器</h1> </div>

荧光机器是流行的Synthwave84配色方案的一个分支,灵感来源于20世纪80年代的美学和被称为合成波的复古未来主义风格。荧光机器(配色方案)将这种霓虹浸染的风格融入其设计中,带有一种发光效果,为您的编码体验增添了一丝科幻感。

荧光机器

<details> <summary>安装</summary>

要安装荧光机器,您需要一个插件管理器。

使用Lazy.nvim的示例

return { { 'maxmx03/fluoromachine.nvim', lazy = false, priority = 1000, config = function () local fm = require 'fluoromachine' fm.setup { glow = true, theme = 'fluoromachine', transparent = true, } vim.cmd.colorscheme 'fluoromachine' end } }
</details> <details> <summary>注解</summary>
lspconfig.lua_ls.setup { settings = { Lua = { runtime = { version = 'LuaJIT', }, workspace = { checkThirdParty = false, library = { vim.env.VIMRUNTIME, '~/.local/share/nvim/lazy/fluoromachine.nvim', }, }, hint = { enable = true, }, completion = { callSnippet = 'Replace', }, }, }, capabilities = capabilities, }
</details> <details> <summary>默认配置</summary>
{ theme = 'fluoromachine', brightness = 0.05, glow = true, transparent = false, styles = { comments = {}, functions = {}, variables = {}, numbers = {}, constants = {}, parameters = {}, keywords = {}, types = {}, }, colors = {}, overrides = {}, plugins = { bufferline = true, cmp = true, dashboard = true, editor = true, gitsign = true, hop = true, ibl = true, illuminate = true, lazy = true, minicursor = true, ministarter = true, minitabline = true, ministatusline = true, navic = true, neogit = true, neotree = true, noice = true, notify = true, lspconfig = true, syntax = true, telescope = true, treesitter = true, tree = true, wk = true, }, }
</details> <details> <summary>配置</summary>

示例:

---@type fluoromachine local fm = require 'fluoromachine' fm.setup { glow = true, theme = 'retrowave', transparent = false, plugins = { neotree = false, } } vim.cmd.colorscheme('fluoromachine')
</details> <details> <summary>自定义</summary>

荧光机器是一个完全可自定义的配色方案,您甚至可以在荧光机器内创建一个配色方案。您可以添加新颜色、添加新的高亮组,并更新高亮组。

示例

更改配色方案样式。

local fm = require 'fluoromachine' fm.setup { overrides = { ['@type'] = { italic = true, bold = false }, ['@function'] = { italic = false, bold = false }, ['@comment'] = { italic = true }, ['@keyword'] = { italic = false }, ['@constant'] = { italic = false, bold = false }, ['@variable'] = { italic = true }, ['@field'] = { italic = true }, ['@parameter'] = { italic = true }, } } vim.cmd.colorscheme 'fluoromachine'

自定义Telescope。

"callback overrides"函数接收"colors"、"darken"、"lighten"和"blend"作为参数。"darken"函数接受两个参数:您想要使其变暗的颜色和暗度百分比。"lighten"函数的工作方式与"darken"相同。"blend"函数接受三个参数:颜色、背景和透明度。

local fm = require 'fluoromachine' function overrides(c,color) local darken = color.darken local lighten = color.lighten local blend = color.blend local shade = color.shade local tint = color.tint return { TelescopeResultsBorder = { fg = c.bgdark, bg = c.bgdark }, TelescopeResultsNormal = { bg = c.bgdark }, TelescopePreviewNormal = { bg = c.bg }, TelescopePromptBorder = { fg = c.bgdark, bg = c.bgdark }, TelescopeTitle = { fg = c.red, bg = shade(c.red,5) }, TelescopePromptPrefix = { fg = c.purple }, } end fm.setup { overrides = overrides }

自定义颜色

您可以以与自定义高亮组相同的方式自定义颜色。 颜色回调函数接收与overrides相同的参数。 添加或自定义的颜色可以在后续的overrides中使用。

local fm = require 'fluoromachine' fm.setup { glow = true, theme = 'retrowave', colors = function(_, color) local darken = color.darken local lighten = color.lighten local blend = color.blend local shade = color.shade local tint = color.tint return { bg = '#190920', bgdark = darken('#190920', 20), cyan = '#49eaff', red = '#ff1e34', yellow = '#ffe756', orange = '#f38e21', pink = '#ffadff', purple = '#9544f7', } end, } vim.cmd.colorscheme 'fluoromachine'
</details> <details> <summary>Lualine</summary>

主题:fluoromachine retrowave delta

local lualine = require 'lualine' lualine.setup { options = { theme = 'fluoromachine' } }
</details> <details> <summary>贡献</summary>

欢迎提交拉取请求。
要了解更多关于配色方案的信息,请阅读 SPECIFICATION.md

</details>

维基

维护者

Max
Max Miliano

许可证

MIT许可证

编辑推荐精选

GPT Image 2中文站

GPT Image 2中文站

AI 图片生成平台

GPT Image 2 是面向用户的 AI 图片生成平台,支持文生图、图生图及多模型创意工作流。

Nano Banana Pro 中文站

Nano Banana Pro 中文站

AI 图片生成工具

输入简单文字,生成想要的图片。支持Nano Banana/gptimage-2等最新模型。

Vecbase

Vecbase

你的AI Agent团队

Vecbase 是专为 AI 团队打造的智能工作空间,将数据管理、模型协作与知识沉淀整合于一处。算法、产品与业务在同一平台无缝协同,让从数据到 AI 应用的落地更快一步。

音述AI

音述AI

全球首个AI音乐社区

音述AI是全球首个AI音乐社区,致力让每个人都能用音乐表达自我。音述AI提供零门槛AI创作工具,独创GETI法则帮助用户精准定义音乐风格,AI润色功能支持自动优化作品质感。音述AI支持交流讨论、二次创作与价值变现。针对中文用户的语言习惯与文化背景进行专门优化,支持国风融合、C-pop等本土音乐标签,让技术更好地承载人文表达。

QoderWork

QoderWork

阿里Qoder团队推出的桌面端AI智能体

QoderWork 是阿里推出的本地优先桌面 AI 智能体,适配 macOS14+/Windows10+,以自然语言交互实现文件管理、数据分析、AI 视觉生成、浏览器自动化等办公任务,自主拆解执行复杂工作流,数据本地运行零上传,技能市场可无限扩展,是高效的 Agentic 生产力办公助手。

lynote.ai

lynote.ai

一站式搞定所有学习需求

不再被海量信息淹没,开始真正理解知识。Lynote 可摘要 YouTube 视频、PDF、文章等内容。即时创建笔记,检测 AI 内容并下载资料,将您的学习效率提升 10 倍。

AniShort

AniShort

为AI短剧协作而生

专为AI短剧协作而生的AniShort正式发布,深度重构AI短剧全流程生产模式,整合创意策划、制作执行、实时协作、在线审片、资产复用等全链路功能,独创无限画布、双轨并行工业化工作流与Ani智能体助手,集成多款主流AI大模型,破解素材零散、版本混乱、沟通低效等行业痛点,助力3人团队效率提升800%,打造标准化、可追溯的AI短剧量产体系,是AI短剧团队协同创作、提升制作效率的核心工具。

seedancetwo2.0

seedancetwo2.0

能听懂你表达的视频模型

Seedance two是基于seedance2.0的中国大模型,支持图像、视频、音频、文本四种模态输入,表达方式更丰富,生成也更可控。

nano-banana纳米香蕉中文站

nano-banana纳米香蕉中文站

国内直接访问,限时3折

输入简单文字,生成想要的图片,纳米香蕉中文站基于 Google 模型的 AI 图片生成网站,支持文字生图、图生图。官网价格限时3折活动

扣子-AI办公

扣子-AI办公

职场AI,就用扣子

AI办公助手,复杂任务高效处理。办公效率低?扣子空间AI助手支持播客生成、PPT制作、网页开发及报告写作,覆盖科研、商业、舆情等领域的专家Agent 7x24小时响应,生活工作无缝切换,提升50%效率!

下拉加载更多