mirror of https://github.com/sgoudham/nvim.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.2 KiB
Lua
64 lines
1.2 KiB
Lua
3 years ago
|
---@class Config
|
||
|
local config = {}
|
||
|
|
||
|
config.options = {
|
||
3 years ago
|
transparent_background = false,
|
||
3 years ago
|
term_colors = false,
|
||
3 years ago
|
styles = {
|
||
|
comments = "italic",
|
||
3 years ago
|
functions = "italic",
|
||
3 years ago
|
keywords = "italic",
|
||
|
strings = "NONE",
|
||
|
variables = "NONE",
|
||
|
},
|
||
|
integrations = {
|
||
|
treesitter = true,
|
||
3 years ago
|
native_lsp = {
|
||
|
enabled = true,
|
||
3 years ago
|
virtual_text = {
|
||
3 years ago
|
errors = "italic",
|
||
|
hints = "italic",
|
||
|
warnings = "italic",
|
||
3 years ago
|
information = "italic",
|
||
|
},
|
||
3 years ago
|
underlines = {
|
||
|
errors = "underline",
|
||
|
hints = "underline",
|
||
|
warnings = "underline",
|
||
|
information = "underline",
|
||
3 years ago
|
},
|
||
3 years ago
|
},
|
||
3 years ago
|
lsp_trouble = false,
|
||
|
lsp_saga = false,
|
||
|
gitgutter = false,
|
||
|
gitsigns = false,
|
||
|
telescope = false,
|
||
3 years ago
|
nvimtree = {
|
||
3 years ago
|
enabled = false,
|
||
|
show_root = false,
|
||
3 years ago
|
},
|
||
3 years ago
|
which_key = false,
|
||
3 years ago
|
indent_blankline = {
|
||
|
enabled = false,
|
||
|
colored_indent_levels = false,
|
||
|
},
|
||
3 years ago
|
dashboard = false,
|
||
|
neogit = false,
|
||
|
vim_sneak = false,
|
||
|
fern = false,
|
||
3 years ago
|
barbar = false,
|
||
3 years ago
|
bufferline = false,
|
||
3 years ago
|
markdown = false,
|
||
3 years ago
|
lightspeed = false,
|
||
3 years ago
|
ts_rainbow = false,
|
||
3 years ago
|
hop = false,
|
||
3 years ago
|
},
|
||
3 years ago
|
}
|
||
|
|
||
|
function config.set_options(opts)
|
||
3 years ago
|
opts = opts or {}
|
||
|
config.options = vim.tbl_deep_extend("force", config.options, opts)
|
||
3 years ago
|
end
|
||
|
|
||
|
return config
|