From bbdfe3d6e8adf2f469e30ed10df595b9dcdcca0f Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Thu, 27 Apr 2023 19:07:42 +0200 Subject: [PATCH] added material colortheme --- lua/plugins/material.lua | 73 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 lua/plugins/material.lua diff --git a/lua/plugins/material.lua b/lua/plugins/material.lua new file mode 100644 index 0000000..fe1d337 --- /dev/null +++ b/lua/plugins/material.lua @@ -0,0 +1,73 @@ +return { + 'marko-cerovac/material.nvim', + priority = 1000, + config = function() + local colors = require 'material.colors' + require('material').setup({ + + contrast = { + terminal = false, -- Enable contrast for the built-in terminal + sidebars = false, -- Enable contrast for sidebar-like windows ( for example Nvim-Tree ) + floating_windows = true, -- Enable contrast for floating windows + cursor_line = false, -- Enable darker background for the cursor line + non_current_windows = true, -- Enable darker background for non-current windows + filetypes = {}, -- Specify which filetypes get the contrasted (darker) background + }, + + styles = { -- Give comments style such as bold, italic, underline etc. + comments = { --[[ italic = true ]] }, + strings = { --[[ bold = true ]] }, + keywords = { --[[ underline = true ]] }, + functions = { --[[ bold = true, undercurl = true ]] }, + variables = {}, + operators = {}, + types = {}, + }, + + plugins = { -- Uncomment the plugins that you use to highlight them + -- Available plugins: + "dap", + -- "dashboard", + "gitsigns", + -- "hop", + "indent-blankline", + -- "lspsaga", + -- "mini", + -- "neogit", + -- "neorg", + "nvim-cmp", + "nvim-navic", + -- "nvim-tree", + "nvim-web-devicons", + -- "sneak", + "telescope", + -- "trouble", + "which-key", + }, + + disable = { + colored_cursor = false, -- Disable the colored cursor + borders = false, -- Disable borders between verticaly split windows + background = false, -- Prevent the theme from setting the background (NeoVim then uses your terminal background) + term_colors = false, -- Prevent the theme from setting terminal colors + eob_lines = false -- Hide the end-of-buffer lines + }, + + high_visibility = { + lighter = false, -- Enable higher contrast text for lighter style + darker = true-- Enable higher contrast text for darker style + }, + + lualine_style = 'default', -- Lualine style ( can be 'stealth' or 'default' ) + + async_loading = true, -- Load parts of the theme asyncronously for faster startup (turned on by default) + + custom_colors = nil, -- If you want to everride the default colors, set this to a function + + custom_highlights = {}, -- Overwrite highlights with your own + }) + vim.g.material_style = "darker" + vim.cmd('colorscheme material') + end, + enabled = false +}