From 65430696666cba229a5ce7cd61b9260d8aa5e25a Mon Sep 17 00:00:00 2001 From: zleyyij <75810274+zleyyij@users.noreply.github.com> Date: Mon, 4 Nov 2024 10:31:20 -0700 Subject: [PATCH] use github colorscheme for nvim --- neovim/nvim/init.lua | 28 ++++++++++++++++-- neovim/nvim/lazy-lock.json | 16 +++++----- .../semantic-index-db.0.mdb/lock.mdb | Bin 8192 -> 8192 bytes .../prompts/prompts-library-db.0.mdb/lock.mdb | Bin 8192 -> 8192 bytes 4 files changed, 34 insertions(+), 10 deletions(-) diff --git a/neovim/nvim/init.lua b/neovim/nvim/init.lua index 6950aad..769d73a 100644 --- a/neovim/nvim/init.lua +++ b/neovim/nvim/init.lua @@ -247,12 +247,14 @@ vim.opt.rtp:prepend(lazypath) -- then, setup! require("lazy").setup({ -- main color scheme + -- Switched to https://github.com/projekt0n/github-nvim-theme + -- { - "wincent/base16-nvim", + "projekt0n/github-nvim-theme", lazy = false, -- load at start priority = 1000, -- load first config = function() - vim.cmd([[colorscheme base16-gruvbox-dark-hard]]) + vim.cmd([[colorscheme github_dark]]) vim.o.background = 'dark' -- XXX: hi Normal ctermbg=NONE -- Make comments more prominent -- they are important. @@ -269,6 +271,28 @@ require("lazy").setup({ end }, -- nice bar at the bottom + -- { + -- "wincent/base16-nvim", + -- lazy = false, -- load at start + -- priority = 1000, -- load first + -- config = function() + -- vim.cmd([[colorscheme base16-gruvbox-dark-hard]]) + -- vim.o.background = 'dark' + -- -- XXX: hi Normal ctermbg=NONE + -- -- Make comments more prominent -- they are important. + -- local bools = vim.api.nvim_get_hl(0, { name = 'Boolean' }) + -- vim.api.nvim_set_hl(0, 'Comment', bools) + -- -- Make it clearly visible which argument we're at. + -- local marked = vim.api.nvim_get_hl(0, { name = 'PMenu' }) + -- vim.api.nvim_set_hl(0, 'LspSignatureActiveParameter', { fg = marked.fg, bg = marked.bg, ctermfg = marked.ctermfg, ctermbg = marked.ctermbg, bold = true }) + -- -- XXX + -- -- Would be nice to customize the highlighting of warnings and the like to make + -- -- them less glaring. But alas + -- -- https://github.com/nvim-lua/lsp_extensions.nvim/issues/21 + -- -- call Base16hi("CocHintSign", g:base16_gui03, "", g:base16_cterm03, "", "", "") + -- end + -- }, + -- nice bar at the bottom { 'itchyny/lightline.vim', lazy = false, -- also load at start since it's UI diff --git a/neovim/nvim/lazy-lock.json b/neovim/nvim/lazy-lock.json index 22e9e11..af05cce 100644 --- a/neovim/nvim/lazy-lock.json +++ b/neovim/nvim/lazy-lock.json @@ -1,24 +1,24 @@ { - "base16-nvim": { "branch": "main", "commit": "7dcb960acba2f0a662e8d1026464c4959645caab" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, "cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" }, "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, - "fzf": { "branch": "master", "commit": "e76aa37fd402f994ff194a02e47576fba928e8f4" }, + "fzf": { "branch": "master", "commit": "ff1687744db737c935db0f8e4d29373db9f84d8c" }, "fzf.vim": { "branch": "master", "commit": "ec75ffbfd50630bf2b8d444d89487e149bacf7f3" }, - "lazy.nvim": { "branch": "main", "commit": "1159bdccd8910a0fd0914b24d6c3d186689023d9" }, + "github-nvim-theme": { "branch": "main", "commit": "0e4636f556880d13c00d8a8f686fae8df7c9845f" }, + "lazy.nvim": { "branch": "main", "commit": "cf8ecc2c5e4332760431a33534240b0cbc6680ab" }, "leap.nvim": { "branch": "main", "commit": "c6bfb191f1161fbabace1f36f578a20ac6c7642c" }, "lightline.vim": { "branch": "master", "commit": "d6a07ea376a4b7372aa59e7ea6a051c9470bb4d0" }, "lsp_signature.nvim": { "branch": "master", "commit": "fc38521ea4d9ec8dbd4c2819ba8126cea743943b" }, - "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, - "nvim-lspconfig": { "branch": "master", "commit": "fb453a1a443b6ea6b54a1e4c101b1160c9d37950" }, - "nvim-treesitter": { "branch": "master", "commit": "cc2c11c403a9143827501223b4ee64432dcaf246" }, + "nvim-cmp": { "branch": "main", "commit": "29fb4854573355792df9e156cb779f0d31308796" }, + "nvim-lspconfig": { "branch": "master", "commit": "28b205ebe73a18f401e040585106f9bafd8ff21f" }, + "nvim-treesitter": { "branch": "master", "commit": "00d219068385a4aa80859d4606ad6e03af6faa83" }, "rust.vim": { "branch": "master", "commit": "889b9a7515db477f4cb6808bef1769e53493c578" }, "tabular": { "branch": "master", "commit": "12437cd1b53488e24936ec4b091c9324cafee311" }, "vim-fish-syntax": { "branch": "master", "commit": "e229becbf4bbee21cc78cd2cf24f57112e33c02a" }, "vim-markdown": { "branch": "master", "commit": "8f6cb3a6ca4e3b6bcda0730145a0b700f3481b51" }, - "vim-matchup": { "branch": "master", "commit": "1975afe63198ab6a0dff7200919828e5cd4330b9" }, + "vim-matchup": { "branch": "master", "commit": "2328f4a3082093fe61f6d8004572f905cc1b58f4" }, "vim-svelte": { "branch": "main", "commit": "0e93ec53c3667753237282926fec626785622c1c" }, "vim-terraform": { "branch": "master", "commit": "24de93afb05078bac6a2e966402cc1f672277708" }, "vim-toml": { "branch": "main", "commit": "d36caa6b1cf508a4df1c691f915572fc02143258" }, - "yaml.nvim": { "branch": "main", "commit": "615985c1886644a4b2c0eebf985c1d1ae8257dd1" } + "yaml.nvim": { "branch": "main", "commit": "1c1096a0b4b2cc31ca7cf430570911faaeca02c2" } } diff --git a/zed/zed/embeddings/semantic-index-db.0.mdb/lock.mdb b/zed/zed/embeddings/semantic-index-db.0.mdb/lock.mdb index aaff787d9ab4f53037ec03b2022342b829f09c06..87c2965c620c7bcf77f926fa1a979a6990313f8e 100644 GIT binary patch delta 17 YcmZp0XmFSy!pzLTy;1SL{6qsT04(_g(EtDd delta 17 YcmZp0XmFSy!py)Ruu<{8{6qsT04)Oq(*OVf diff --git a/zed/zed/prompts/prompts-library-db.0.mdb/lock.mdb b/zed/zed/prompts/prompts-library-db.0.mdb/lock.mdb index ef88645cef3221706e5fd436958645fc092a3d06..8fb382c31a02bd4fd5a71f0b0eb407d584ae3b7e 100644 GIT binary patch delta 28 kcmZp0XmFSy!py|LHF06)#0Ei@56AKuH!h5qpJ>1X0EeFmxBvhE delta 28 kcmZp0XmFSy!pz6OHgRF*#0EhY1FizbjSJ)DCmQeo0C>O%MF0Q*