55 lines
2.7 KiB
Lua
55 lines
2.7 KiB
Lua
--[[
|
|
Copyright 2023 Oscar Wallberg
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
https://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
]]
|
|
|
|
require("material").setup({
|
|
contrast = {
|
|
sidebars = false, -- Enable contrast for sidebar-like windows ( for example Nvim-Tree )
|
|
floating_windows = false, -- Enable contrast for floating windows
|
|
line_numbers = false, -- Enable contrast background for line numbers
|
|
sign_column = false, -- Enable contrast background for the sign column
|
|
cursor_line = false, -- Enable darker background for the cursor line
|
|
non_current_windows = false, -- Enable darker background for non-current windows
|
|
popup_menu = false, -- Enable lighter background for the popup menu
|
|
},
|
|
italics = {
|
|
comments = false, -- Enable italic comments
|
|
keywords = false, -- Enable italic keywords
|
|
functions = false, -- Enable italic functions
|
|
strings = false, -- Enable italic strings
|
|
variables = false, -- Enable italic variables
|
|
},
|
|
contrast_filetypes = { -- Specify which filetypes get the contrasted (darker) background
|
|
"terminal", -- Darker terminal background
|
|
"packer", -- Darker packer background
|
|
"qf", -- Darker qf list background
|
|
},
|
|
high_visibility = {
|
|
lighter = false, -- Enable higher contrast text for lighter style
|
|
darker = false, -- Enable higher contrast text for darker style
|
|
},
|
|
disable = {
|
|
borders = false, -- Disable borders between verticaly split windows
|
|
background = false, -- Prevent the theme from setting the background (NeoVim then uses your teminal background)
|
|
term_colors = false, -- Prevent the theme from setting terminal colors
|
|
eob_lines = false, -- Hide the end-of-buffer lines
|
|
},
|
|
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_highlights = {}, -- Overwrite highlights with your own
|
|
})
|
|
vim.g.material_style = "deep ocean"
|
|
vim.fn.execute("colorscheme material")
|