NVtui config.

This commit is contained in:
Bartek Stalewski 2024-11-03 16:35:36 +01:00
parent 4949188076
commit 6c30aee0c0
Signed by: ftpd
SSH Key Fingerprint: SHA256:vGQiaNJcfUMLt3wF58+Zx15C6SpRDA9spUeggjVY8Yo
3 changed files with 32 additions and 18 deletions

View File

@ -4,33 +4,28 @@
---@type ChadrcConfig
local M = {}
M.ui = {
theme = "monekai",
M.base46 = {
hl_override = {
ColorColumn = { bg = "#770000" },
Comment = { italic = true, },
DiffChange = { bg = "NONE", fg = "#e7c547" },
DiffText = { bg = "NONE", fg = "#ff8700" },
FoldColumn = { bg = "NONE" },
NonText = { bg = "NONE" },
Normal = { bg = "NONE" },
NormalFloat = { bg = "NONE" },
SignColumn = { bg = "NONE" },
SpellBad = { bg = "#770000", fg = "#ffffff" },
TelescopeNormal = { bg = "NONE" },
Visual = { bg = "#0094d8", fg = "#ffffff" },
},
theme = "monekai",
transparency = false
}
M.ui = {
statusline = {
theme = "vscode_colored",
}
}
M.mason = {
cmd = true,
pkgs = {"lua-language-server"}
pkgs = { "lua-language-server" }
}
return M

3
config/nvim/lua/init.lua Normal file
View File

@ -0,0 +1,3 @@
vim.g.base46_cache = vim.fn.stdpath "data" .. "/base46_cache/"
dofile(vim.g.base46_cache .. "defaults")
dofile(vim.g.base46_cache .. "statusline")

View File

@ -1,12 +1,28 @@
return {
{
"stevearc/conform.nvim",
-- event = 'BufWritePre', -- uncomment for format on save
config = function()
require "configs.conform"
end,
"nvim-lua/plenary.nvim",
{
"nvchad/ui",
config = function()
require "nvchad"
end
},
{
"nvchad/base46",
lazy = true,
build = function()
require("base46").load_all_highlights()
end,
},
"nvchad/volt", -- optional, needed for theme switcher
},
{
"stevearc/conform.nvim",
-- event = 'BufWritePre', -- uncomment for format on save
config = function()
require "configs.conform"
end,
},
{
"nvim-treesitter/nvim-treesitter",
opts = {
@ -21,6 +37,7 @@ return {
},
},
},
}
-- These are some examples, uncomment them if you want to see them work!
-- {
@ -53,4 +70,3 @@ return {
-- "mg979/vim-visual-multi",
-- lazy = false,
-- }
}