chore(config): remove transparent background
parent
a70e927899
commit
cd29f7617c
|
@ -1,8 +1,5 @@
|
|||
include themes/mocha.conf
|
||||
|
||||
# https://sw.kovidgoyal.net/kitty/conf/#color-scheme
|
||||
background_opacity 0.9
|
||||
|
||||
# https://sw.kovidgoyal.net/kitty/conf/#fonts
|
||||
font_family APL385 Unicode
|
||||
font_size 18.0
|
||||
|
@ -16,9 +13,6 @@ cursor_blink_interval 0
|
|||
copy_on_select yes
|
||||
strip_trailing_spaces smart
|
||||
|
||||
# https://sw.kovidgoyal.net/kitty/conf/#performance-tuning
|
||||
sync_to_monitor no
|
||||
|
||||
# https://sw.kovidgoyal.net/kitty/conf/#terminal-bell
|
||||
enable_audio_bell no
|
||||
|
||||
|
|
|
@ -43,6 +43,9 @@ vim.keymap.set("n", "<C-n>", ":NvimTreeToggle<CR>")
|
|||
vim.keymap.set("n", "<leader>r", ":NvimTreeRefresh<CR>")
|
||||
vim.keymap.set("n", "<leader>n", ":NvimTreeFindFile<CR>")
|
||||
|
||||
-- Use catppuccin
|
||||
vim.g.catppuccin_flavour = "mocha"
|
||||
|
||||
-- Use gofumpt
|
||||
vim.g.go_gopls_gofumpt = 1
|
||||
|
||||
|
@ -74,8 +77,8 @@ require("packer").startup(function()
|
|||
-- https://github.com/lukas-reineke/indent-blankline.nvim
|
||||
use("lukas-reineke/indent-blankline.nvim")
|
||||
|
||||
-- https://github.com/akinsho/toggleterm.nvim
|
||||
use({ "akinsho/toggleterm.nvim", tag = "v2.*" })
|
||||
-- https://github.com/junegunn/fzf.vim
|
||||
use("junegunn/fzf.vim")
|
||||
|
||||
-- Colorschemes
|
||||
-- https://github.com/cocopon/iceberg.vim
|
||||
|
@ -132,21 +135,12 @@ require("nvim-tree").setup({
|
|||
|
||||
require("indent_blankline").setup()
|
||||
|
||||
require("toggleterm").setup()
|
||||
|
||||
local catppuccin_term_colors = false
|
||||
if vim.env.COLORTERM == "truecolor" then
|
||||
catppuccin_term_colors = true
|
||||
vim.g.catppuccin_flavour = "mocha"
|
||||
end
|
||||
|
||||
local catppuccin_transparent_background = false
|
||||
if vim.env.TERM == "xterm-kitty" then
|
||||
catppuccin_transparent_background = true
|
||||
end
|
||||
|
||||
require("catppuccin").setup({
|
||||
transparent_background = catppuccin_transparent_background,
|
||||
term_colors = catppuccin_term_colors,
|
||||
compile = {
|
||||
enabled = true,
|
||||
|
|
Loading…
Reference in New Issue