1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
-- local used = false;
-- vim.keymap.set('n', '<leader>t', function()
-- used = not used;
-- if used then
-- require('nvim-treesitter.configs').setup {
-- highlight = {
-- additional_vim_regex_highlighting = { "latex", "markdown" },
-- },
-- }
-- else
-- require('nvim-treesitter.configs').setup {
-- highlight = {
-- additional_vim_regex_highlighting = { "" },
-- },
-- }
-- end
-- end
-- );
--
--
require("gruvbox").setup({
undercurl = true,
underline = true,
bold = true,
italic = {
strings = 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,
})
vim.cmd("colorscheme gruvbox")
require('lualine').setup {
options = {
theme = 'gruvbox',
},
}
|