💄 Updated nvim color theme
This commit is contained in:
parent
ca2d04c7f4
commit
987023643c
5 changed files with 71 additions and 7 deletions
|
|
@ -1,7 +1,64 @@
|
|||
require("nord").setup({
|
||||
-- your configuration comes here
|
||||
-- or leave it empty to use the default settings
|
||||
transparent = true, -- Enable this to disable setting the background color
|
||||
terminal_colors = true, -- Configure the colors used when opening a `:terminal` in Neovim
|
||||
diff = { mode = "bg" }, -- enables/disables colorful backgrounds when used in diff mode. values : [bg|fg]
|
||||
borders = true, -- Enable the border between verticaly split windows visible
|
||||
errors = { mode = "bg" }, -- Display mode for errors and diagnostics
|
||||
-- values : [bg|fg|none]
|
||||
search = { theme = "vim" }, -- theme for highlighting search results
|
||||
-- values : [vim|vscode]
|
||||
styles = {
|
||||
-- Style to be applied to different syntax groups
|
||||
-- Value is any valid attr-list value for `:help nvim_set_hl`
|
||||
comments = { italic = true },
|
||||
keywords = { italic = true },
|
||||
functions = { bold = true, italic = true },
|
||||
variables = { bold = true },
|
||||
-- To customize lualine/bufferline
|
||||
bufferline = {
|
||||
current = {},
|
||||
modified = { italic = true },
|
||||
},
|
||||
},
|
||||
|
||||
-- colorblind mode
|
||||
-- see https://github.com/EdenEast/nightfox.nvim#colorblind
|
||||
-- simulation mode has not been implemented yet.
|
||||
colorblind = {
|
||||
enable = false,
|
||||
preserve_background = false,
|
||||
severity = {
|
||||
protan = 0.0,
|
||||
deutan = 0.0,
|
||||
tritan = 0.0,
|
||||
},
|
||||
},
|
||||
-- Override the default colors
|
||||
on_colors = function(colors) end,
|
||||
|
||||
--- You can override specific highlights to use other groups or a hex color
|
||||
--- function will be called with all highlights and the colorScheme table
|
||||
on_highlights = function(highlights, colors) end,
|
||||
})
|
||||
|
||||
function ColorMyPencils(color)
|
||||
color = color or "nord"
|
||||
vim.cmd.colorscheme(color)
|
||||
|
||||
vim.api.nvim_set_hl(0, "@attribute", { fg = "#B48EAD", italic = true }) -- For Tree-sitter
|
||||
vim.api.nvim_set_hl(0, "@decorator", { fg = "#B48EAD", italic = true }) -- Some setups may use this
|
||||
|
||||
vim.api.nvim_set_hl(0, "TabLine", { bg = "none", fg = "#81A1C1" }) -- Inactive tabs
|
||||
vim.api.nvim_set_hl(0, "TabLineSel", { bg = "none", fg = "#D8DEE9" }) -- Active tab
|
||||
vim.api.nvim_set_hl(0, "TabLineFill", { bg = "none" }) -- Background area behind tabs
|
||||
|
||||
vim.api.nvim_set_hl(0, "DiagnosticVirtualTextError", { fg = "#BF616A", bg = "none" }) -- Nord red
|
||||
vim.api.nvim_set_hl(0, "DiagnosticVirtualTextWarn", { fg = "#EBCB8B", bg = "none" }) -- Nord yellow
|
||||
vim.api.nvim_set_hl(0, "DiagnosticVirtualTextInfo", { fg = "#B48EAD", bg = "none" }) -- Nord purple
|
||||
vim.api.nvim_set_hl(0, "DiagnosticVirtualTextHint", { fg = "#81A1C1", bg = "none" }) -- Nord blue
|
||||
|
||||
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
||||
end
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ return require("packer").startup(function(use)
|
|||
use({ "nvim-treesitter/nvim-treesitter", run = ":TSUpdate" })
|
||||
use({ "nvim-treesitter/playground" })
|
||||
use({
|
||||
"shaunsingh/nord.nvim",
|
||||
"gbprod/nord.nvim",
|
||||
config = function()
|
||||
vim.cmd("colorscheme nord")
|
||||
end,
|
||||
|
|
|
|||
|
|
@ -113,12 +113,12 @@ vim.api.nvim_create_autocmd("BufReadPost", {
|
|||
})
|
||||
|
||||
-- turns off LSP semantic tokens by default
|
||||
vim.api.nvim_create_autocmd("LspAttach", {
|
||||
callback = function(args)
|
||||
local client = vim.lsp.get_client_by_id(args.data.client_id)
|
||||
client.server_capabilities.semanticTokensProvider = nil
|
||||
end,
|
||||
})
|
||||
-- vim.api.nvim_create_autocmd("LspAttach", {
|
||||
-- callback = function(args)
|
||||
-- local client = vim.lsp.get_client_by_id(args.data.client_id)
|
||||
-- client.server_capabilities.semanticTokensProvider = nil
|
||||
-- end,
|
||||
-- })
|
||||
|
||||
-- set folds to be remembered on save
|
||||
vim.cmd([[
|
||||
|
|
|
|||
1
aliases
1
aliases
|
|
@ -39,6 +39,7 @@ alias Math="cd ~/Documents/Math && ls"
|
|||
alias cplus="cd ~/Documents/Code/cpp && ls"
|
||||
alias js="cd ~/Documents/Code/javascript && ls"
|
||||
alias py="cd ~/Documents/Code/python && ls"
|
||||
alias {pysh,py-sh}="ipython"
|
||||
alias phpd="cd ~/Documents/Code/php && ls"
|
||||
alias golang="cd ~/Documents/Code/golang && ls"
|
||||
alias {rust,rustlang}="cd ~/Documents/Code/rust && ls"
|
||||
|
|
|
|||
|
|
@ -674,3 +674,9 @@ Uninstall old tldr and replace with tealdeer
|
|||
doas pacman -Rs tldr && doas pacman -S tealdeer && tldr --update
|
||||
Install btop-theme-catppuccin
|
||||
paru -S btop-theme-catppuccin
|
||||
Install ipython (better python interpreter):
|
||||
doas pacman -S ipython
|
||||
Configure ipython to use vi keybindings
|
||||
ipython profile create
|
||||
in ~/.ipython/profile_default/ipython_config.py,
|
||||
edit c.TerminalInteractiveShell.editing_mode = 'vi'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue