nvim/lua/general.lua

39 lines
925 B
Lua
Raw Normal View History

2022-10-06 12:01:05 +00:00
-- disable netrw at the very start of your init.lua (strongly advised)
vim.g.loaded = 1
vim.g.loaded_netrwPlugin = 1
-- OR setup with some options
require("nvim-tree").setup({
sort_by = "case_sensitive",
view = {
adaptive_size = true,
},
renderer = {
group_empty = true,
},
filters = {
dotfiles = true,
},
})
--Gruvbox theme settings
-- setup must be called before loading the colorscheme
require("gruvbox").setup({
undercurl = true,
underline = true,
bold = true,
italic = false, -- default=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 = "hard", -- can be "hard", "soft" or empty string
palette_overrides = {},
overrides = {},
dim_inactive = true, -- default=false
transparent_mode = false,
})