diff --git a/init.lua b/init.lua index ba8bba9..ca9ef11 100644 --- a/init.lua +++ b/init.lua @@ -9,5 +9,5 @@ else -- │ themes are under ./lua/pika/plugins/colorschemes.lua │ -- ╰──────────────────────────────────────────────────────╯ - vim.cmd.colorscheme("nekonight-moon") + vim.cmd.colorscheme("tokyodark") end diff --git a/lua/pika/plugins/colorschemes.lua b/lua/pika/plugins/colorschemes.lua index 80ffdd1..1115e78 100644 --- a/lua/pika/plugins/colorschemes.lua +++ b/lua/pika/plugins/colorschemes.lua @@ -2,24 +2,27 @@ return { { "rose-pine/neovim", name = "rose-pine" }, { "L-Colombo/oldschool.nvim", config = "true" }, { "ptdewey/darkearth-nvim" }, - -- { "catppuccin/nvim", name = "catppuccin" }, - -- { "folke/tokyonight.nvim" }, - -- { "fynnfluegge/monet.nvim", name = "monet" }, - -- { "AlexvZyl/nordic.nvim" }, - -- { "eldritch-theme/eldritch.nvim" }, - -- { "EdenEast/nightfox.nvim" }, - -- { "DanWlker/primeppuccin", name = "primeppuccin" }, - -- { "sainnhe/sonokai" }, - -- { - -- "ferdinandrau/lavish.nvim", - -- opts = { - -- style = { - -- italic_comments = false, - -- italic_strings = false, - -- transparent = false, - -- }, - -- }, - -- }, + { + "tiagovla/tokyodark.nvim", + opts = { + terminal_colors = true, -- enable terminal colors + transparent_background = false, -- set background to transparent + gamma = 0.90, -- adjust the brightness of the theme + styles = { + comments = { italic = false }, -- style for comments + keywords = { italic = true }, -- style for keywords + identifiers = { italic = true }, -- style for identifiers + variables = { bold = true }, -- style for variables + functions = {}, -- style for functions + }, + custom_highlights = {} or function(highlights, palette) + return {} + end, -- extend highlights + custom_palette = {} or function(palette) + return {} + end, -- extend palette + }, + }, { "neko-night/nvim", lazy = false, diff --git a/lua/pika/plugins/lsp/lspconfig.lua b/lua/pika/plugins/lsp/lspconfig.lua index 9a31bb6..07499cc 100644 --- a/lua/pika/plugins/lsp/lspconfig.lua +++ b/lua/pika/plugins/lsp/lspconfig.lua @@ -4,7 +4,7 @@ return { dependencies = { { "saghen/blink.cmp" }, { "antosha417/nvim-lsp-file-operations", config = true }, - { "folke/neodev.nvim", opts = {} }, + -- { "folke/neodev.nvim", opts = {} }, }, config = function() @@ -87,13 +87,6 @@ return { filetypes = { "php", "blade.php" }, }) end, - -- ["tsserver"] = function() - -- -- Replace tsserver with typescript-language-server - -- lspconfig["typescript-language-server"].setup({ - -- capabilities = capabilities, - -- filetypes = { "typescript", "typescriptreact", "javascript", "javascriptreact" }, - -- }) - -- end, }) end, } diff --git a/lua/pika/plugins/snacks.lua b/lua/pika/plugins/snacks.lua index e07991a..748e121 100644 --- a/lua/pika/plugins/snacks.lua +++ b/lua/pika/plugins/snacks.lua @@ -11,6 +11,17 @@ return { indent = { enabled = true }, input = { enabled = true }, + animate = { + enabled = true, + ---@type snacks.animate.Duration|number + duration = 3, -- ms per step + + easing = "linear", + fps = 60, -- frames per second. Global setting for all animations + }, + + explorer = { enabled = false }, + ---@class snacks.dashboard.Config ---@field enabled? boolean ---@field sections snacks.dashboard.Section @@ -110,6 +121,17 @@ return { -- end, -- desc = "Buffers", -- }, + + -- both of the next two bindings are the same, just for different keymaps + -- ─< find [N]eovim config >──────────────────────────────────────────────────────────── + { + "fn", + function() + Snacks.picker.files({ cwd = vim.fn.stdpath("config") }) + end, + desc = "Find Config File", + }, + -- ─< find neovim [C]onfig >──────────────────────────────────────────────────────────── { "fc", function() @@ -117,6 +139,7 @@ return { end, desc = "Find Config File", }, + { "ff", function()