From a0de5b4d5c55979584cd2d05279e0ed5524eeef3 Mon Sep 17 00:00:00 2001 From: Djkato Date: Tue, 11 Jul 2023 15:21:37 +0200 Subject: [PATCH] astro, presence, smt else --- highlights/init.lua | 60 +++++++++++++++++++++++++++++++++++++-- plugins/my_keybinds.lua | 7 +++++ plugins/presence_nvim.lua | 27 ++++++++++++++++++ plugins/vim-astro.lua | 11 +++++++ 4 files changed, 103 insertions(+), 2 deletions(-) create mode 100644 plugins/my_keybinds.lua create mode 100644 plugins/presence_nvim.lua create mode 100644 plugins/vim-astro.lua diff --git a/highlights/init.lua b/highlights/init.lua index f7e055b..7330584 100644 --- a/highlights/init.lua +++ b/highlights/init.lua @@ -1,3 +1,59 @@ -return { -- this table overrides highlights in all themes - -- Normal = { bg = "#000000" }, +-- this table overrides highlights in all themes +return { + -- Normal + Normal = { bg = "none" }, + NormalFloat = { bg = "none" }, + NormalNC = { bg = "none" }, + FloatBorder = { bg = "none" }, + -- WinBar + WinBar = { bg = "none" }, + WinBarNC = { bg = "none" }, + WhichKeyFloat = { bg = "none" }, + -- Telescope + TelescopeBorder = { bg = "none" }, + TelescopeNormal = { bg = "none" }, + -- Diagnosis + DiagnosticVirtualTextHint = { fg = "#E0E1E4", bg = "none" }, + DiagnosticVirtualTextWarn = { fg = "#e0af68", bg = "none" }, + DiagnosticVirtualTextInfo = { fg = "#9ece6a", bg = "none" }, + DiagnosticVirtualTextError = { fg = "#c53b53", bg = "none" }, + -- NeoTree + NeoTreeNormal = { bg = "none" }, + NeoTreeNormalNC = { bg = "none" }, + -- StatusLine + StatusLine = { bg = "none" }, + StatusLineNC = { bg = "none" }, + StatusLineTerm = { bg = "none" }, + StatusLineTermNC = { bg = "none" }, + -- QuickFixLine + QuickFixLine = { bg = "none" }, + -- TabLine + TabLine = { bg = "none" }, + TabLineSel = { bg = "none" }, + TabLineFill = { bg = "none" }, + -- Cursor + CursorLineNr = { bg = "none" }, + CursorLine = { bg = "none" }, + ColorColumn = { bg = "none" }, + -- Search + Search = { fg = 'red' }, + IncSearch = { fg = 'red' }, + -- Pmenu + Pmenu = { bg = "none" }, + PmenuSel = { bg = "none" }, + PmenuSbar = { bg = "none" }, + PmenuThumb = { bg = "none" }, + + NotifyINFOBody = { bg = "NONE" }, + NotifyWARNBody = { bg = "NONE" }, + NotifyERRORBody = { bg = "NONE" }, + NotifyDEBUGBody = { bg = "NONE" }, + NotifyTRACEBody = { bg = "NONE" }, + NotifyINFOBorder = { bg = "NONE" }, + NotifyWARNBorder = { bg = "NONE" }, + NotifyERRORBorder = { bg = "NONE" }, + NotifyDEBUGBorder = { bg = "NONE" }, + NotifyTRACEBorder = { bg = "NONE" }, + NotifyBackground = { bg = "#000000" }, } +-- https://github.com/folke/tokyonight.nvim/blob/467d889ba82a74e26821c812aa8e70d7dff04c6c/lua/tokyonight/theme.lua \ No newline at end of file diff --git a/plugins/my_keybinds.lua b/plugins/my_keybinds.lua new file mode 100644 index 0000000..b6e93c7 --- /dev/null +++ b/plugins/my_keybinds.lua @@ -0,0 +1,7 @@ +-- return { +-- "nvim-cmp", +-- opts = function(_, opt) +-- cmp = require "cmp", +-- opt.mapping[""] = cmp.mapping(cmp.mapping.complete(), { "i", "c" }) +-- end, +-- } \ No newline at end of file diff --git a/plugins/presence_nvim.lua b/plugins/presence_nvim.lua new file mode 100644 index 0000000..9d8fa4b --- /dev/null +++ b/plugins/presence_nvim.lua @@ -0,0 +1,27 @@ +-- The setup config table shows all available config options with their default values: +return { + "andweeb/presence.nvim", + config = function() + require("presence").setup({ + -- General options + neovim_image_text = "How do I exit Neovim 😭?", -- Text displayed when hovered over the Neovim image + main_image = "file", -- Main image display (either "neovim" or "file") + client_id = "793271441293967371", -- Use your own Discord application client id (not recommended) + log_level = "warn", -- Log messages at or above this level (one of the following: "debug", "info", "warn", "error") + -- debounce_timeout = 10, -- Number of seconds to debounce events (or calls to `:lua package.loaded.presence:update(, true)`) + enable_line_number = false, -- Displays the current line number instead of the current project + -- blacklist = {}, -- A list of strings or Lua patterns that disable Rich Presence if the current file name, path, or workspace matches + buttons = true, -- Configure Rich Presence button(s), either a boolean to enable/disable, a static table (`{{ label = "