Neovim 复古未来 主义配色方案
fluoromachine.nvim 是一款 Neovim 配色方案,基于 Synthwave84 开发,融合 80 年代复古未来主义风格。该方案为代码编辑器增添霓虹效果和科幻氛围,提供多种主题和透明背景选项。插件支持广泛的 Neovim 生态系统,并允许用户自定义颜色和高亮组,以创建独特的编码环境。
荧光机器是流行的Synthwave84配色方案的一个分支,灵感来源于20世纪80年代的美学和被称为合成波的复古未来主义风格。荧光机器(配色方案)将这种霓虹浸染的风格融入其设计中,带有一种发光效果,为您的编码体验增添了一丝科幻感。
要安装荧光机器,您需要一个插件管理器。
使用Lazy.nvim的示例
</details> <details> <summary>注解</summary>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')
荧光机器是一个完全可自定义的配色方案,您甚至可以在荧光机器内创建一个配色方案。您可以添加新颜色、添加新的高亮组,并更新高亮组。
示例
更改配色方案样式。
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中使用。
</details> <details> <summary>Lualine</summary>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'
主题:fluoromachine
retrowave
delta
</details> <details> <summary>贡献</summary>local lualine = require 'lualine' lualine.setup { options = { theme = 'fluoromachine' } }
欢迎提交拉取请求。
要了解更多关于配色方案的信息,请阅读 SPECIFICATION.md
![]() |
---|
Max Miliano |
一键生成PPT和Word,让学习生活更轻松
讯飞智文是一个利用 AI 技术的项目,能够帮助用户生成 PPT 以及各类文档。无论是商业领域的市场分析报告、年度目标制定,还是学生群体的职业生涯规划、实习避坑指南,亦或是活动策划、旅游攻略等内容,它都能提供支持,帮助用户精准表达,轻松呈现各种信息。
深度推理能力全新升级,全面对标OpenAI o1
科大讯飞的星火大模型,支持语言理解、知识问答和文本创作等多功能,适用于多种文件和业务场景,提升办公和日常生活的效率。讯飞星火是一个提供丰富智能服务的平台,涵盖科技资讯、图像创作、写作辅助、编程解答、科研文献解读等功能,能为不同需求的用户提供便捷高效的帮助,助力用户轻松获取信息、解决问题,满足多样化使用场景。
一种基于大语言模型的高效单流解耦语音令牌文本到语音合成模型
Spark-TTS 是一个基于 PyTorch 的开源文本到语音合成项目,由多个知名机构联合参与。该项目提供了高效的 LLM(大语言模型)驱动的语音合成方案,支持语音克隆和语音创建功能,可通过命令行界面(CLI)和 Web UI 两种方式使用。用户可以根据需求调整语音的性别、音高、速度等参数,生成高质量的语音。该项目适用于多种场景,如有声读物制作、智能语音助手开发等。
字节跳动发布的AI编程神器IDE
Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。