From 1a018f94cff747efb9c2c85580d013d9a1fc71fc Mon Sep 17 00:00:00 2001 From: The_miro Date: Thu, 20 Mar 2025 08:31:42 +0100 Subject: [PATCH] added vim theme cyberqueer.nvim --- nvim/init.lua.old | 15 ++++++++ nvim/init.vim | 5 +-- nvim/lazy.nvim | 35 ------------------- .../{cyberqueer => cyberqueer.nvim}/LICENSE | 0 .../{cyberqueer => cyberqueer.nvim}/README.md | 0 .../colors/cyberqueer.lua | 0 .../lua/lush_theme/cyberqueer.lua | 18 +++++----- templush.txt | 0 8 files changed, 27 insertions(+), 46 deletions(-) delete mode 100644 nvim/lazy.nvim rename nvim/theme/{cyberqueer => cyberqueer.nvim}/LICENSE (100%) rename nvim/theme/{cyberqueer => cyberqueer.nvim}/README.md (100%) rename nvim/theme/{cyberqueer => cyberqueer.nvim}/colors/cyberqueer.lua (100%) rename nvim/theme/{cyberqueer => cyberqueer.nvim}/lua/lush_theme/cyberqueer.lua (95%) delete mode 100644 templush.txt diff --git a/nvim/init.lua.old b/nvim/init.lua.old index e69de29..744f083 100644 --- a/nvim/init.lua.old +++ b/nvim/init.lua.old @@ -0,0 +1,15 @@ +local vim = vim +local Plug = vim.fn['plug#'] + +vim.call('plug#begin') +Plug('junegunn/goyo.vim') +Plug('rktjmp/lush.nvim') +Plug('tpope/vim-sensible') +Plug('/home/themiro/Dotfiles/nvim/theme/cyberqueer.nvim') +vim.call('plug#end') + +-- Color schemes should be loaded after plug#end(). +-- We prepend it with 'silent!' to ignore errors when it's not yet installed. +vim.cmd('silent! colorscheme seoul256') + +vim.cmd() diff --git a/nvim/init.vim b/nvim/init.vim index 78748d2..baf83c5 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -2,9 +2,10 @@ call plug#begin('~/.local/share/nvim/site/plugged') Plug 'junegunn/goyo.vim' Plug 'rktjmp/lush.nvim' - +Plug 'tpope/vim-sensible' +Plug '~/Dotfiles/nvim/theme/cyberqueer.nvim' call plug#end() - +colorscheme cyberqueer syntax on filetype on diff --git a/nvim/lazy.nvim b/nvim/lazy.nvim deleted file mode 100644 index 0b91e20..0000000 --- a/nvim/lazy.nvim +++ /dev/null @@ -1,35 +0,0 @@ --- Bootstrap lazy.nvim -local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" -if not (vim.uv or vim.loop).fs_stat(lazypath) then - local lazyrepo = "https://github.com/folke/lazy.nvim.git" - local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath }) - if vim.v.shell_error ~= 0 then - vim.api.nvim_echo({ - { "Failed to clone lazy.nvim:\n", "ErrorMsg" }, - { out, "WarningMsg" }, - { "\nPress any key to exit..." }, - }, true, {}) - vim.fn.getchar() - os.exit(1) - end -end -vim.opt.rtp:prepend(lazypath) - --- Make sure to setup `mapleader` and `maplocalleader` before --- loading lazy.nvim so that mappings are correct. --- This is also a good place to setup other settings (vim.opt) -vim.g.mapleader = " " -vim.g.maplocalleader = "\\" - --- Setup lazy.nvim -require("lazy").setup({ - spec = { - -- add your plugins here - }, - -- Configure any other settings here. See the documentation for more details. - -- colorscheme that will be used when installing plugins. - install = { colorscheme = { "habamax" } }, - -- automatically check for plugin updates - checker = { enabled = true }, -}) - diff --git a/nvim/theme/cyberqueer/LICENSE b/nvim/theme/cyberqueer.nvim/LICENSE similarity index 100% rename from nvim/theme/cyberqueer/LICENSE rename to nvim/theme/cyberqueer.nvim/LICENSE diff --git a/nvim/theme/cyberqueer/README.md b/nvim/theme/cyberqueer.nvim/README.md similarity index 100% rename from nvim/theme/cyberqueer/README.md rename to nvim/theme/cyberqueer.nvim/README.md diff --git a/nvim/theme/cyberqueer/colors/cyberqueer.lua b/nvim/theme/cyberqueer.nvim/colors/cyberqueer.lua similarity index 100% rename from nvim/theme/cyberqueer/colors/cyberqueer.lua rename to nvim/theme/cyberqueer.nvim/colors/cyberqueer.lua diff --git a/nvim/theme/cyberqueer/lua/lush_theme/cyberqueer.lua b/nvim/theme/cyberqueer.nvim/lua/lush_theme/cyberqueer.lua similarity index 95% rename from nvim/theme/cyberqueer/lua/lush_theme/cyberqueer.lua rename to nvim/theme/cyberqueer.nvim/lua/lush_theme/cyberqueer.lua index f60d6db..9c23b9b 100644 --- a/nvim/theme/cyberqueer/lua/lush_theme/cyberqueer.lua +++ b/nvim/theme/cyberqueer.nvim/lua/lush_theme/cyberqueer.lua @@ -96,14 +96,14 @@ local theme = lush(function(injected_functions) -- CursorColumn { }, -- Screen-column at the cursor, when 'cursorcolumn' is set. -- CursorLine { }, -- Screen-line at the cursor, when 'cursorline' is set. Low-priority if foreground (ctermfg OR guifg) is not set. Directory { fg = darkpurple, bg = BG.li(30) }, -- Directory names (and other special names in listings) - DiffAdd { bg = BG, fg = green}, -- Diff mode: Added line |diff.txt| - DiffChange { bg = BG, fg = neutralblu}, -- Diff mode: Changed line |diff.txt| - DiffDelete { bg = BG, fg = RedHV.da(20)}, -- Diff mode: Deleted line |diff.txt| - DiffText { bg = neutralblu, fg = BG }, -- Diff mode: Changed text within a changed line |diff.txt| + DiffAdd { bg = BG, fg = green}, -- Diff mode: Added line |diff.txt| + DiffChange { bg = BG, fg = neutralblu}, -- Diff mode: Changed line |diff.txt| + DiffDelete { bg = BG, fg = RedHV.da(20)}, -- Diff mode: Deleted line |diff.txt| + DiffText { bg = neutralblu, fg = BG }, -- Diff mode: Changed text within a changed line |diff.txt| -- EndOfBuffer { }, -- Filler lines (~) after the end of the buffer. By default, this is highlighted like |hl-NonText|. -- TermCursor { }, -- Cursor in a focused terminal -- TermCursorNC { }, -- Cursor in an unfocused terminal - -- ErrorMsg { }, -- Error messages on the command line + ErrorMsg { fg = RedHV, bg=RedHV.da(60) }, -- Error messages on the command line -- VertSplit { }, -- Column separating vertically split windows -- Folded { }, -- Line used for closed folds -- FoldColumn { }, -- 'foldcolumn' @@ -117,9 +117,9 @@ local theme = lush(function(injected_functions) -- CursorLineFold { }, -- Like FoldColumn when 'cursorline' is set for the cursor line -- CursorLineSign { }, -- Like SignColumn when 'cursorline' is set for the cursor line -- MatchParen { }, -- Character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt| - -- ModeMsg { }, -- 'showmode' message (e.g., "-- INSERT -- ") + ModeMsg { fg = RedHV, bg = darkpurple}, -- 'showmode' message (e.g., "-- INSERT -- ") -- MsgArea { }, -- Area for messages and cmdline - -- MsgSeparator { }, -- Separator for scrolled messages, `msgsep` flag of 'display' + MsgSeparator { fg = Cursor.bg, bg = Cursor.fg}, -- Separator for scrolled messages, `msgsep` flag of 'display' -- MoreMsg { }, -- |more-prompt| -- NonText { }, -- '@' at the end of the window, characters from 'showbreak' and other characters that do not really exist in the text (e.g., ">" displayed when a double-wide character doesn't fit at the end of the line). See also |hl-EndOfBuffer|. -- Normal { }, -- Normal text @@ -128,7 +128,7 @@ local theme = lush(function(injected_functions) -- FloatTitle { }, -- Title of floating windows. -- NormalNC { }, -- normal text in non-current windows -- Pmenu { }, -- Popup menu: Normal item. - -- PmenuSel { }, -- Popup menu: Selected item. + PmenuSel { fg = Cursor.fg, bg = Cursor.bg}, -- Popup menu: Selected item. -- PmenuKind { }, -- Popup menu: Normal item "kind" -- PmenuKindSel { }, -- Popup menu: Selected item "kind" -- PmenuExtra { }, -- Popup menu: Normal item "extra text" @@ -143,7 +143,7 @@ local theme = lush(function(injected_functions) -- SpellCap { }, -- Word that should start with a capital. |spell| Combined with the highlighting used otherwise. -- SpellLocal { }, -- Word that is recognized by the spellchecker as one that is used in another region. |spell| Combined with the highlighting used otherwise. -- SpellRare { }, -- Word that is recognized by the spellchecker as one that is hardly ever used. |spell| Combined with the highlighting used otherwise. - -- StatusLine { }, -- Status line of current window + StatusLine { fg = Cursor.bg, bg = Cursor.fg}, -- Status line of current window -- StatusLineNC { }, -- Status lines of not-current windows. Note: If this is equal to "StatusLine" Vim will use "^^^" in the status line of the current window. -- TabLine { }, -- Tab pages line, not active tab page label -- TabLineFill { }, -- Tab pages line, where there are no labels diff --git a/templush.txt b/templush.txt deleted file mode 100644 index e69de29..0000000