From f19424177c106b50b55939641826da43f554b830 Mon Sep 17 00:00:00 2001 From: Nanderty Date: Tue, 1 Oct 2024 20:30:45 +0200 Subject: imporove LaTeX snippets --- lua/lualine/theme-newpaper.lua | 47 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 lua/lualine/theme-newpaper.lua (limited to 'lua/lualine/theme-newpaper.lua') diff --git a/lua/lualine/theme-newpaper.lua b/lua/lualine/theme-newpaper.lua new file mode 100644 index 0000000..8824d52 --- /dev/null +++ b/lua/lualine/theme-newpaper.lua @@ -0,0 +1,47 @@ +local configModule = require("newpaper.config") +local lualine_style +local theme = {} + +if vim.g.newpaper_lualine_style == nil then + lualine_style = vim.o.background +else + lualine_style = vim.g.newpaper_lualine_style +end + +configModule.config.colors = vim.g.newpaper_colors +configModule.config.style = lualine_style +theme.colors = require("newpaper.colors").setup(configModule.config) +local colors = theme.colors + +local newpaper = {} + +newpaper.normal = { + a = { bg = colors.green, fg = colors.bg, gui = 'bold' }, + b = { bg = colors.bg, fg = colors.green }, + c = { bg = colors.bg, fg = colors.bg }, + x = { bg = colors.bg, fg = colors.bg }, + y = { bg = colors.bg, fg = colors.bg }, + z = { bg = colors.red, fg = colors.bg, gui = 'bold' }, +} + +newpaper.insert = { + a = { bg = colors.teal, fg = colors.bg, gui = 'bold' }, + b = { bg = colors.bg, fg = colors.teal}, +} + +newpaper.visual = { + a = { bg = colors.purple, fg = colors.bg, gui = 'bold' }, + b = { bg = colors.bg, fg = colors.purple }, +} + +newpaper.replace = { + a = { bg = colors.lightorange, fg = colors.bg, gui = 'bold' }, + b = { bg = colors.bg, fg = colors.lightorange }, +} + +newpaper.inactive = { + c = { bg = colors.bg, fg = colors.fg }, + z = { bg = colors.bg, fg = colors.red }, +} + +return newpaper -- cgit v1.2.3