mirror of https://github.com/E-Almqvist/dotfiles
parent
56f036b725
commit
962e4f02a5
@ -1,18 +1,59 @@ |
|||||||
-- This file needs to have same structure as nvconfig.lua |
-- This file needs to have same structure as nvconfig.lua |
||||||
-- https://github.com/NvChad/ui/blob/v2.5/lua/nvconfig.lua |
-- https://github.com/NvChad/ui/blob/v2.5/lua/nvconfig.lua |
||||||
|
|
||||||
---@type ChadrcConfig |
---@type ChadrcConfig |
||||||
local M = {} |
local M = {} |
||||||
|
|
||||||
-- Path to overriding theme and highlights files |
-- Path to overriding theme and highlights files |
||||||
local highlights = require "highlights" |
local highlights = require("highlights") |
||||||
|
|
||||||
|
local custom_logo = { |
||||||
|
" ", |
||||||
|
" ", |
||||||
|
" ________________________________ ", |
||||||
|
" / '-_ ", |
||||||
|
" / . | . \\ ", |
||||||
|
" / : \\ | / : \\ ", |
||||||
|
" / '-___-' \\ ", |
||||||
|
" /_________________________________________ \\ ", |
||||||
|
" _______| |________________________--''-L ", |
||||||
|
" / F J \\ ", |
||||||
|
" / F J L ", |
||||||
|
" / :' ': F ", |
||||||
|
" / '-___-' / ", |
||||||
|
" /_________________________________________--' ", |
||||||
|
" ", |
||||||
|
" ", |
||||||
|
} |
||||||
|
|
||||||
|
local function split_string(s) |
||||||
|
local t = {} |
||||||
|
for str in string.gmatch(s, "([^\n]+)") do |
||||||
|
table.insert(t, str) |
||||||
|
end |
||||||
|
return t |
||||||
|
end |
||||||
|
|
||||||
M.ui = { |
M.ui = { |
||||||
theme = "gruvchad", |
theme = "gruvchad", |
||||||
theme_toggle = { "gruvchad", "blossom_light" }, |
theme_toggle = { "gruvchad", "blossom_light" }, |
||||||
|
|
||||||
|
hl_override = highlights.override, |
||||||
|
hl_add = highlights.add, |
||||||
|
|
||||||
|
statusline = { |
||||||
|
theme = "vscode", |
||||||
|
}, |
||||||
|
|
||||||
|
hl_override = { |
||||||
|
NvDashAscii = { bg = "blue", fg = "white" }, |
||||||
|
}, |
||||||
|
|
||||||
hl_override = highlights.override, |
nvdash = { |
||||||
hl_add = highlights.add, |
load_on_startup = true, |
||||||
|
header = custom_logo, |
||||||
|
width = 100, |
||||||
|
}, |
||||||
} |
} |
||||||
|
|
||||||
return M |
return M |
||||||
|
@ -1,6 +1,6 @@ |
|||||||
require "nvchad.options" |
require("nvchad.options") |
||||||
|
|
||||||
-- add yours here! |
-- add yours here! |
||||||
|
|
||||||
-- local o = vim.o |
local o = vim.o |
||||||
-- o.cursorlineopt ='both' -- to enable cursorline! |
o.cursorlineopt = "both" |
||||||
|
Loading…
Reference in new issue