feat: some shit
This commit is contained in:
@@ -45,13 +45,7 @@ local config = {
|
||||
-- Disable sections and component separators
|
||||
component_separators = "",
|
||||
section_separators = "",
|
||||
theme = {
|
||||
-- We are going to use lualine_c an lualine_x as left and
|
||||
-- right section. Both are highlighted by c theme . So we
|
||||
-- are just setting default looks o statusline
|
||||
normal = { c = { fg = colors.fg, bg = colors.bg } },
|
||||
inactive = { c = { fg = colors.fg, bg = colors.bg } },
|
||||
},
|
||||
theme = "catppuccin",
|
||||
},
|
||||
|
||||
-- These are to remove the defaults
|
||||
|
@@ -1,5 +1,5 @@
|
||||
-- Configure nvim-tree
|
||||
require("nvim-tree").setup {
|
||||
require("nvim-tree").setup({
|
||||
hijack_cursor = true,
|
||||
update_cwd = false,
|
||||
trash = {
|
||||
@@ -12,23 +12,28 @@ require("nvim-tree").setup {
|
||||
hint = "",
|
||||
info = "",
|
||||
warning = "",
|
||||
error = ""
|
||||
}
|
||||
error = "",
|
||||
},
|
||||
},
|
||||
view = {
|
||||
hide_root_folder = true,
|
||||
signcolumn = "no"
|
||||
signcolumn = "no",
|
||||
},
|
||||
renderer = {
|
||||
group_empty = true,
|
||||
highlight_opened_files = "all",
|
||||
icons = {
|
||||
glyphs = {
|
||||
git = {
|
||||
untracked = "*",
|
||||
},
|
||||
},
|
||||
show = {
|
||||
folder_arrow = false,
|
||||
folder = true,
|
||||
file = true,
|
||||
git = true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
git = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
@@ -27,9 +27,9 @@ return packer.startup(function(use)
|
||||
-- Theming Section
|
||||
use("rktjmp/fwatch.nvim") -- Used to check dark/light theme
|
||||
-- use("EdenEast/nightfox.nvim")
|
||||
-- use({ "catppuccin/nvim", as = "catppuccin" })
|
||||
use({ "catppuccin/nvim", as = "catppuccin" })
|
||||
use("nvim-lualine/lualine.nvim")
|
||||
use("sam4llis/nvim-tundra")
|
||||
-- use("sam4llis/nvim-tundra")
|
||||
|
||||
-- Layout Plugins
|
||||
use("dstein64/nvim-scrollview") -- ScrollBars
|
||||
@@ -104,7 +104,13 @@ return packer.startup(function(use)
|
||||
use({ "ThePrimeagen/harpoon" })
|
||||
|
||||
-- More IDE like features
|
||||
|
||||
use("editorconfig/editorconfig-vim")
|
||||
use({
|
||||
"iamcco/markdown-preview.nvim",
|
||||
run = function()
|
||||
vim.fn["mkdp#util#install"]()
|
||||
end,
|
||||
})
|
||||
use({
|
||||
"nvim-neotest/neotest",
|
||||
requires = {
|
||||
|
@@ -1,48 +0,0 @@
|
||||
-- Enable Theming / Syntax
|
||||
vim.g.catppuccin_flavour = "mocha" -- latte, frappe, macchiato, mocha
|
||||
|
||||
local cat = require("catppuccin")
|
||||
cat.setup({
|
||||
transparent_background = true,
|
||||
compile = {
|
||||
enabled = true,
|
||||
path = vim.fn.stdpath("cache") .. "/catppuccin",
|
||||
},
|
||||
styles = {
|
||||
comments = { "italic" },
|
||||
strings = { "italic" },
|
||||
},
|
||||
integrations = {
|
||||
gitsigns = true,
|
||||
telescope = true,
|
||||
treesitter = true,
|
||||
cmp = true,
|
||||
nvimtree = {
|
||||
enabled = true,
|
||||
show_root = false,
|
||||
},
|
||||
dap = {
|
||||
enabled = true,
|
||||
enable_ui = true,
|
||||
},
|
||||
native_lsp = {
|
||||
enabled = true,
|
||||
},
|
||||
ts_rainbow = true,
|
||||
indent_blankline = {
|
||||
enabled = true,
|
||||
colored_indent_levels = false,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
require("nightfox").setup({
|
||||
options = {
|
||||
transparent = true,
|
||||
},
|
||||
})
|
||||
|
||||
vim.cmd("colorscheme catppuccin")
|
||||
|
||||
require("utils.theme-reloader")
|
||||
require("configs.lualine")
|
43
configs/nvim/lua/core/theme-tundra.lua
Normal file
43
configs/nvim/lua/core/theme-tundra.lua
Normal file
@@ -0,0 +1,43 @@
|
||||
require("nvim-tundra").setup({
|
||||
transparent_background = true,
|
||||
editor = {
|
||||
search = {},
|
||||
substitute = {},
|
||||
},
|
||||
syntax = {
|
||||
booleans = { bold = true, italic = true },
|
||||
comments = { bold = true, italic = true },
|
||||
conditionals = {},
|
||||
constants = { bold = true },
|
||||
functions = {},
|
||||
keywords = {},
|
||||
loops = {},
|
||||
numbers = { bold = true },
|
||||
operators = { bold = true },
|
||||
punctuation = {},
|
||||
strings = {},
|
||||
types = { italic = true },
|
||||
},
|
||||
diagnostics = {
|
||||
errors = {},
|
||||
warnings = {},
|
||||
information = {},
|
||||
hints = {},
|
||||
},
|
||||
plugins = {
|
||||
lsp = true,
|
||||
treesitter = true,
|
||||
cmp = true,
|
||||
context = true,
|
||||
dbui = true,
|
||||
gitsigns = true,
|
||||
telescope = true,
|
||||
},
|
||||
overwrite = {
|
||||
colors = {},
|
||||
highlights = {},
|
||||
},
|
||||
})
|
||||
|
||||
vim.opt.background = "dark"
|
||||
vim.cmd("colorscheme tundra")
|
@@ -1,43 +1,50 @@
|
||||
require("nvim-tundra").setup({
|
||||
-- Enable Theming / Syntax
|
||||
vim.g.catppuccin_flavour = "mocha" -- latte, frappe, macchiato, mocha
|
||||
|
||||
local cat = require("catppuccin")
|
||||
cat.setup({
|
||||
transparent_background = true,
|
||||
editor = {
|
||||
search = {},
|
||||
substitute = {},
|
||||
compile = {
|
||||
enabled = true,
|
||||
path = vim.fn.stdpath("cache") .. "/catppuccin",
|
||||
},
|
||||
syntax = {
|
||||
booleans = { bold = true, italic = true },
|
||||
comments = { bold = true, italic = true },
|
||||
conditionals = {},
|
||||
constants = { bold = true },
|
||||
functions = {},
|
||||
keywords = {},
|
||||
loops = {},
|
||||
numbers = { bold = true },
|
||||
operators = { bold = true },
|
||||
punctuation = {},
|
||||
strings = {},
|
||||
types = { italic = true },
|
||||
styles = {
|
||||
comments = { "italic" },
|
||||
strings = { "italic" },
|
||||
},
|
||||
diagnostics = {
|
||||
errors = {},
|
||||
warnings = {},
|
||||
information = {},
|
||||
hints = {},
|
||||
},
|
||||
plugins = {
|
||||
lsp = true,
|
||||
treesitter = true,
|
||||
cmp = true,
|
||||
context = true,
|
||||
dbui = true,
|
||||
integrations = {
|
||||
gitsigns = true,
|
||||
telescope = true,
|
||||
},
|
||||
overwrite = {
|
||||
colors = {},
|
||||
highlights = {},
|
||||
treesitter = true,
|
||||
cmp = true,
|
||||
lsp_saga = true,
|
||||
notify = true,
|
||||
nvimtree = {
|
||||
enabled = true,
|
||||
show_root = false,
|
||||
},
|
||||
dap = {
|
||||
enabled = true,
|
||||
enable_ui = true,
|
||||
},
|
||||
native_lsp = {
|
||||
enabled = true,
|
||||
},
|
||||
ts_rainbow = true,
|
||||
indent_blankline = {
|
||||
enabled = true,
|
||||
colored_indent_levels = false,
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
vim.opt.background = "dark"
|
||||
vim.cmd("colorscheme tundra")
|
||||
-- require("nightfox").setup({
|
||||
-- options = {
|
||||
-- transparent = true,
|
||||
-- },
|
||||
-- })
|
||||
|
||||
vim.cmd("colorscheme catppuccin")
|
||||
|
||||
require("utils.theme-reloader")
|
||||
require("configs.lualine")
|
||||
|
@@ -28,10 +28,11 @@ local function updateTheme()
|
||||
if line then
|
||||
local light = string.find(line, "light")
|
||||
if light then
|
||||
-- vim.cmd("colorscheme dayfox")
|
||||
vim.g.catppuccin_flavour = "latte"
|
||||
else
|
||||
-- vim.cmd("colorscheme nightfox")
|
||||
vim.g.catppuccin_flavour = "mocha"
|
||||
end
|
||||
vim.cmd("colorscheme catppuccin")
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user