nvim: Update rust-tools to rustaceanvim
Also other stuff
This commit is contained in:
33
tree/.config/nvim/lua/theme.lua
Normal file
33
tree/.config/nvim/lua/theme.lua
Normal file
@ -0,0 +1,33 @@
|
||||
-- setup must be called before loading the colorscheme
|
||||
-- Default options:
|
||||
require("gruvbox").setup({
|
||||
terminal_colors = true, -- add neovim terminal colors
|
||||
undercurl = true,
|
||||
underline = true,
|
||||
bold = true,
|
||||
italic = {
|
||||
strings = true,
|
||||
emphasis = true,
|
||||
comments = true,
|
||||
operators = false,
|
||||
folds = true,
|
||||
},
|
||||
strikethrough = true,
|
||||
invert_selection = false,
|
||||
invert_signs = false,
|
||||
invert_tabline = false,
|
||||
invert_intend_guides = false,
|
||||
inverse = true, -- invert background for search, diffs, statuslines and errors
|
||||
contrast = "", -- can be "hard", "soft" or empty string
|
||||
palette_overrides = {},
|
||||
overrides = {},
|
||||
dim_inactive = false,
|
||||
transparent_mode = false,
|
||||
})
|
||||
|
||||
require('color-scheme')
|
||||
|
||||
local color_scheme_file = "~/.cache/dotfiles/.config/nvim/lua/color-scheme.lua"
|
||||
require('fwatch').watch(color_scheme_file, "luafile " .. color_scheme_file)
|
||||
|
||||
vim.cmd([[colorscheme gruvbox]])
|
||||
Reference in New Issue
Block a user