just remove custom ember theme, my light ghostty theme with nvim just inheriting defaults is more readable and feels more vanilla anyway. i wanted something new, that is ghostty using ember theme, and i'm really loving it over an extended time period. it looks great, same colors as onedark/onelight, but muted and readable. awesome. just use ANSI colors from terminal wherever i can.
This commit is contained in:
@@ -18,8 +18,10 @@ palette = 5=#b07878
|
|||||||
palette = 6=#80a090
|
palette = 6=#80a090
|
||||||
palette = 7=#d8d0c0
|
palette = 7=#d8d0c0
|
||||||
|
|
||||||
# Bright colors (same as normal — Ember's muted philosophy)
|
# Bright colors (mostly mirror normals — Ember's muted philosophy)
|
||||||
palette = 8=#4f4e4c
|
# EXCEPT slot 8: repurposed as a subtle "panel" bg tint, used by nvim
|
||||||
|
# folds and any consumer that wants 'just barely off from bg'.
|
||||||
|
palette = 8=#26241f
|
||||||
palette = 9=#e08060
|
palette = 9=#e08060
|
||||||
palette = 10=#8a9868
|
palette = 10=#8a9868
|
||||||
palette = 11=#c8b468
|
palette = 11=#c8b468
|
||||||
|
|||||||
@@ -18,8 +18,10 @@ palette = 5=#743838
|
|||||||
palette = 6=#2c5446
|
palette = 6=#2c5446
|
||||||
palette = 7=#282418
|
palette = 7=#282418
|
||||||
|
|
||||||
# Bright colors (same as normal — Ember's muted philosophy)
|
# Bright colors (mostly mirror normals — Ember's muted philosophy)
|
||||||
palette = 8=#282418
|
# EXCEPT slot 8: repurposed as a subtle "panel" bg tint, used by nvim
|
||||||
|
# folds and any consumer that wants 'just barely off from bg'.
|
||||||
|
palette = 8=#dccfb6
|
||||||
palette = 9=#9a3a1c
|
palette = 9=#9a3a1c
|
||||||
palette = 10=#3e5826
|
palette = 10=#3e5826
|
||||||
palette = 11=#5e5018
|
palette = 11=#5e5018
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ require('lazy').setup({
|
|||||||
'nvim-neotest/nvim-nio',
|
'nvim-neotest/nvim-nio',
|
||||||
'leoluz/nvim-dap-go',
|
'leoluz/nvim-dap-go',
|
||||||
'nvim-treesitter/nvim-treesitter',
|
'nvim-treesitter/nvim-treesitter',
|
||||||
-- 'romus204/tree-sitter-manager.nvim',
|
|
||||||
'luukvbaal/nnn.nvim',
|
'luukvbaal/nnn.nvim',
|
||||||
'nvim-tree/nvim-tree.lua',
|
'nvim-tree/nvim-tree.lua',
|
||||||
'lewis6991/gitsigns.nvim',
|
'lewis6991/gitsigns.nvim',
|
||||||
@@ -48,14 +47,11 @@ require('lazy').setup({
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
-- Visual
|
|
||||||
'ember-theme/nvim',
|
|
||||||
-- Utility
|
-- Utility
|
||||||
'windwp/nvim-autopairs',
|
'windwp/nvim-autopairs',
|
||||||
'nvim-telescope/telescope.nvim',
|
'nvim-telescope/telescope.nvim',
|
||||||
'nvim-telescope/telescope-ui-select.nvim',
|
'nvim-telescope/telescope-ui-select.nvim',
|
||||||
'nvim-lua/plenary.nvim',
|
'nvim-lua/plenary.nvim',
|
||||||
'f-person/auto-dark-mode.nvim',
|
|
||||||
-- 'folke/which-key.nvim',
|
-- 'folke/which-key.nvim',
|
||||||
{
|
{
|
||||||
"nvim-orgmode/orgmode",
|
"nvim-orgmode/orgmode",
|
||||||
@@ -126,9 +122,6 @@ require('nvim-tree').setup({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
-- require('gitsigns').setup()
|
|
||||||
require('ember').setup({ transparent_floats = true })
|
|
||||||
require('auto-dark-mode').setup()
|
|
||||||
require('telescope').setup({
|
require('telescope').setup({
|
||||||
defaults = {
|
defaults = {
|
||||||
file_ignore_patterns = {
|
file_ignore_patterns = {
|
||||||
|
|||||||
@@ -11,55 +11,32 @@ vim.wo.relativenumber = true
|
|||||||
vim.g.mapleader = ' '
|
vim.g.mapleader = ' '
|
||||||
vim.o.splitright = true
|
vim.o.splitright = true
|
||||||
|
|
||||||
-- Tone down ember's coral folders/titles so code stays the visual focus.
|
|
||||||
-- Directory names (incl. nvim-tree folders) and the active tabline entry
|
|
||||||
-- both pick up steel blue instead of coral.
|
|
||||||
require('ember').setup({
|
|
||||||
on_highlights = function(hl, theme)
|
|
||||||
hl.Directory = { fg = theme.syn.steel, bold = true }
|
|
||||||
hl.Title = { fg = theme.ui.fg_alt, bold = true }
|
|
||||||
hl.TabLineSel = { fg = theme.syn.steel, bg = theme.ui.bg, bold = true }
|
|
||||||
end,
|
|
||||||
})
|
|
||||||
vim.cmd.colorscheme('ember-auto')
|
|
||||||
-- vim.o.scrolloff = 999
|
|
||||||
-- vim.o.clipboard="unnamedplus"
|
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd("FileType", {
|
|
||||||
pattern = "markdown",
|
|
||||||
command = "setlocal wrap linebreak",
|
|
||||||
})
|
|
||||||
vim.api.nvim_create_autocmd("FileType", {
|
|
||||||
pattern = "org",
|
|
||||||
command = "setlocal shiftwidth=2 tabstop=2 expandtab",
|
|
||||||
})
|
|
||||||
|
|
||||||
-- Highlighting for orgmode files with highlight.nvim
|
-- Highlighting for orgmode files with highlight.nvim
|
||||||
-- vim.api.nvim_create_autocmd("ColorScheme", {
|
vim.api.nvim_create_autocmd("ColorScheme", {
|
||||||
-- callback = function()
|
callback = function()
|
||||||
-- local cursorline = vim.api.nvim_get_hl(0, { name = "CursorLine" })
|
local cursorline = vim.api.nvim_get_hl(0, { name = "CursorLine" })
|
||||||
-- local sep = vim.api.nvim_get_hl(0, { name = "WinSeparator" }).fg
|
local sep = vim.api.nvim_get_hl(0, { name = "WinSeparator" }).fg
|
||||||
-- or vim.api.nvim_get_hl(0, { name = "Comment" }).fg
|
or vim.api.nvim_get_hl(0, { name = "Comment" }).fg
|
||||||
--
|
|
||||||
-- vim.api.nvim_set_hl(0, "Headline1", { bg = cursorline.bg, underline = true, sp = sep })
|
vim.api.nvim_set_hl(0, "Headline1", { bg = cursorline.bg, underline = true, sp = sep })
|
||||||
-- vim.api.nvim_set_hl(0, "Headline2", { bg = cursorline.bg, underline = true, sp = sep })
|
vim.api.nvim_set_hl(0, "Headline2", { bg = cursorline.bg, underline = true, sp = sep })
|
||||||
-- vim.api.nvim_set_hl(0, "Headline3", { bg = cursorline.bg, underline = true, sp = sep })
|
vim.api.nvim_set_hl(0, "Headline3", { bg = cursorline.bg, underline = true, sp = sep })
|
||||||
-- vim.api.nvim_set_hl(0, "Headline4", { bg = cursorline.bg, underline = true, sp = sep })
|
vim.api.nvim_set_hl(0, "Headline4", { bg = cursorline.bg, underline = true, sp = sep })
|
||||||
-- end,
|
end,
|
||||||
-- })
|
})
|
||||||
|
|
||||||
-- Global colorscheme based on terminal colors
|
-- Global colorscheme based on terminal colors
|
||||||
-- vim.cmd("Copilot disable")
|
vim.cmd([[
|
||||||
-- vim.cmd([[
|
autocmd ColorScheme * highlight Statement cterm=bold ctermfg=5
|
||||||
-- autocmd ColorScheme * highlight Statement cterm=bold ctermfg=5
|
autocmd ColorScheme * highlight Keyword ctermfg=5
|
||||||
-- autocmd ColorScheme * highlight Keyword ctermfg=5
|
autocmd ColorScheme * highlight Type ctermfg=6
|
||||||
-- autocmd ColorScheme * highlight Type ctermfg=6
|
autocmd ColorScheme * highlight Function cterm=bold ctermfg=4
|
||||||
-- autocmd ColorScheme * highlight Function cterm=bold ctermfg=4
|
autocmd ColorScheme * highlight Constant ctermfg=3
|
||||||
-- autocmd ColorScheme * highlight Constant ctermfg=3
|
autocmd ColorScheme * highlight String ctermfg=2
|
||||||
-- autocmd ColorScheme * highlight String ctermfg=2
|
autocmd ColorScheme * highlight Comment cterm=italic ctermfg=lightgray
|
||||||
-- autocmd ColorScheme * highlight Comment cterm=italic ctermfg=lightgray
|
autocmd ColorScheme * highlight Folded cterm=italic ctermfg=lightgray ctermbg=8
|
||||||
--
|
|
||||||
-- syntax on
|
syntax on
|
||||||
-- set notermguicolors
|
set notermguicolors
|
||||||
-- colorscheme default
|
colorscheme default
|
||||||
-- ]])
|
]])
|
||||||
|
|||||||
Reference in New Issue
Block a user