diff --git a/nvim/lua/config/lazy.lua b/nvim/lua/config/lazy.lua index f7bf98c..fe4b2f6 100644 --- a/nvim/lua/config/lazy.lua +++ b/nvim/lua/config/lazy.lua @@ -15,6 +15,7 @@ require("lazy").setup({ { import = "lazyvim.plugins.extras.lang.json" }, -- { import = "lazyvim.plugins.extras.ui.mini-animate" }, { import = "lazyvim.plugins.extras.dap.core" }, + { import = "lazyvim.plugins.extras.editor.flash" }, -- import/override with your plugins { import = "plugins" }, }, @@ -45,5 +46,3 @@ require("lazy").setup({ }, }, }) - -vim.api.nvim_set_hl(0, "@type.qualifier", { link = "Keyword" }) diff --git a/nvim/lua/plugins/colors.lua b/nvim/lua/plugins/colors.lua index 8299fcb..9236e36 100644 --- a/nvim/lua/plugins/colors.lua +++ b/nvim/lua/plugins/colors.lua @@ -9,12 +9,37 @@ return { name = "catppuccin", opts = { flavour = "frappe", + -- custom_highlights = function(colors) + -- return { + -- ["@type.qualifier"] = { link = "StorageClass" }, + -- ["@lsp.typemod.annotation"] = { link = "@attribute" }, + -- ["@lsp.type.interface"] = { link = "Structure" }, + -- ["@lsp.type.method"] = {}, + -- ["StorageClass"] = { fg = colors.mauve }, + -- ["@parameter"] = { fg = colors.text }, + -- ["@property"] = { fg = colors.maroon }, + -- ["@field"] = { fg = colors.maroon }, + -- ["Function"] = { fg = colors.text }, + -- ["Type"] = { fg = colors.text }, + -- ["Structure"] = { fg = colors.text }, + -- ["@method"] = { fg = colors.yellow }, + -- } + -- end, + custom_highlights = function(colors) + return { + ["@type.qualifier"] = { link = "StorageClass" }, + ["@parameter"] = { fg = colors.text }, + ["@field"] = { fg = colors.maroon }, + ["@lsp.type.interface"] = { link = "Structure" }, + ["StorageClass"] = { fg = colors.mauve }, + } + end, }, }, - { "ellisonleao/gruvbox.nvim" }, - {"rktjmp/lush.nvim" }, - {"briones-gabriel/darcula-solid.nvim", - depends = {"rktjmp/lush.nvim" }, - }, - { "doums/darcula" }, + -- { "ellisonleao/gruvbox.nvim" }, + -- {"rktjmp/lush.nvim" }, + -- {"briones-gabriel/darcula-solid.nvim", + -- depends = {"rktjmp/lush.nvim" }, + -- }, + -- { "doums/darcula" }, } diff --git a/nvim/lua/plugins/plugins.lua b/nvim/lua/plugins/plugins.lua index a3cef1a..484f078 100644 --- a/nvim/lua/plugins/plugins.lua +++ b/nvim/lua/plugins/plugins.lua @@ -27,13 +27,13 @@ return { "windwp/nvim-spectre", enabled = false, }, - { - "ggandor/leap-spooky.nvim", - enabled = true, - opts = { - paste_on_remote_yank = true, - }, - }, + -- { + -- "ggandor/leap-spooky.nvim", + -- enabled = true, + -- opts = { + -- paste_on_remote_yank = true, + -- }, + -- }, { "ggandor/flit.nvim", enabled = false, @@ -69,17 +69,17 @@ return { }, }, }, - -- { - -- "hrsh7th/nvim-cmp", - -- opts = function(_, opts) - -- local cmp = require("cmp") - -- opts.sources = cmp.config.sources({ - -- { name = "nvim_lsp" }, - -- -- { name = "luasnip" }, - -- }) - -- return opts - -- end, - -- }, + { + "hrsh7th/nvim-cmp", + opts = function(_, opts) + local cmp = require("cmp") + opts.sources = cmp.config.sources({ + { name = "nvim_lsp" }, + { name = "luasnip" }, + }) + return opts + end, + }, { "nvim-treesitter/nvim-treesitter-context", depends = {