diff --git a/colors/export-kitty-colors.lua b/colors/export-kitty-colors.lua new file mode 100644 index 0000000..2198e6a --- /dev/null +++ b/colors/export-kitty-colors.lua @@ -0,0 +1,29 @@ +-- Export current colorscheme to kitty config format +function ExportColorsKitty() + local fn = vim.fn + local filename = os.getenv("HOME") .. "/.config/kitty/nvim_export.conf" + local file = io.open(filename, "w") + io.output(file) + io.write("# vim:ft=kitty" .. "\n\n") + io.write("# exported from " .. vim.g.colors_name .. "\n\n") + local fg = fn.synIDattr(fn.hlID("Normal"), "fg") + local bg = fn.synIDattr(fn.hlID("Normal"), "bg") + io.write("foreground " .. fg .. "\n") + io.write("background " .. bg .. "\n") + io.write("selection_foreground " .. bg .. "\n") + io.write("selection_background " .. fg .. "\n") + for i = 0,15 do + local var = "g:terminal_color_" .. tostring(i) + if fn.exists(var) == 1 then + local tc = fn.eval(var) + io.write("color" .. tostring(i) .. " " .. tc .. "\n") + if i == 2 then + io.write("cursor " .. tc .. "\n") + end + end + end + io.close(file) + print("Colors exported to " .. filename) +end + +ExportColorsKitty() diff --git a/colors/peel-enhanced.vim b/colors/peel-enhanced.vim index 924a0a5..19a8e95 100644 --- a/colors/peel-enhanced.vim +++ b/colors/peel-enhanced.vim @@ -40,7 +40,7 @@ hi StatusLineNC guifg=#edebe6 guibg=NONE gui=NONE hi Pmenu guifg=#edebe6 guibg=NONE gui=NONE hi PmenuSel guifg=NONE guibg=#94c7b6 gui=NONE hi IncSearch guifg=#0c0b0a guibg=#f4d370 gui=NONE -hi Search guifg=NONE guibg=NONE gui=NONE +hi Search guifg=NONE guibg=#404040 gui=NONE hi Directory guifg=#94c7b6 guibg=NONE gui=NONE hi Folded guifg=#e2dfd7 guibg=NONE gui=NONE hi Normal guifg=#d6e1c7 guibg=NONE gui=NONE diff --git a/lazy-lock.json b/lazy-lock.json index e3c0285..c25861f 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -11,8 +11,10 @@ "indent-blankline.nvim": { "branch": "master", "commit": "18603eb949eba08300799f64027af11ef922283f" }, "lazy.nvim": { "branch": "main", "commit": "aca30f63619a7492ecdea8833a065cf83c80f764" }, "lsp-zero.nvim": { "branch": "v3.x", "commit": "56db3d5ce5476b183783160e6045f7337ba12b83" }, - "mason-lspconfig.nvim": { "branch": "main", "commit": "25c11854aa25558ee6c03432edfa0df0217324be" }, + "lsp_signature.nvim": { "branch": "master", "commit": "fc38521ea4d9ec8dbd4c2819ba8126cea743943b" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "482350b050bd413931c2cdd4857443c3da7d57cb" }, "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" }, + "mellow.nvim": { "branch": "main", "commit": "5c8b4eaadf190f646f201322f96f00140b6b1a0b" }, "neodev.nvim": { "branch": "main", "commit": "46aa467dca16cf3dfe27098042402066d2ae242d" }, "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, "nvim-lspconfig": { "branch": "master", "commit": "46ce5fd8c081f179a509da423077f8372e63ffc4" }, diff --git a/lua/core/lazy.lua b/lua/core/lazy.lua index 4b86146..6ef25cc 100644 --- a/lua/core/lazy.lua +++ b/lua/core/lazy.lua @@ -14,4 +14,4 @@ vim.opt.rtp:prepend(lazypath) require("lazy").setup({ { import = "plugins" } }) -vim.cmd([[colorscheme peel-enhanced]]) +vim.cmd([[colorscheme mellow]]) diff --git a/lua/plugins/coding.lua b/lua/plugins/coding.lua index 9c9c8ea..fba25ee 100644 --- a/lua/plugins/coding.lua +++ b/lua/plugins/coding.lua @@ -64,6 +64,15 @@ return { require("cmp").setup(opts) end, }, + { + "ray-x/lsp_signature.nvim", + event = "VeryLazy", + opts = {}, + config = function(_, opts) require 'lsp_signature'.setup(opts) end, + keys = { + { "", function() vim.lsp.buf.signature_help() end, desc = "Toggle Signature Help" }, + }, + }, -- Supermaven (copilot) { "supermaven-inc/supermaven-nvim", @@ -85,7 +94,7 @@ return { end }, -- Surround - { "tpope/vim-surround", event = "BufRead", }, + { "tpope/vim-surround", event = "BufRead", }, -- Unimpaired { "tpope/vim-unimpaired", event = "BufRead", }, } diff --git a/lua/plugins/editor.lua b/lua/plugins/editor.lua index bc49cf5..f6c6166 100644 --- a/lua/plugins/editor.lua +++ b/lua/plugins/editor.lua @@ -38,4 +38,5 @@ return { } end, }, + { "mellow-theme/mellow.nvim" }, }