diff --git a/init.lua b/init.lua index 6a5f1a5..cbb767d 100644 --- a/init.lua +++ b/init.lua @@ -27,7 +27,7 @@ vim.o.sessionoptions = "blank,buffers,curdir,folds,help,tabpages,winsize,winpos, -- │ Colorscheme │ -- ╰─────────────╯ vim.cmd("colorscheme gruvbox") -- rose-pine, gruvbox, koda-{dark/light/moss/glade}, komau -vim.o.background = "light" -- "dark" or "light" +vim.o.background = "light" -- "dark" or "light" -- ╭───────────────────╮ -- │ Default clipboard │ @@ -38,8 +38,13 @@ vim.cmd("set clipboard=unnamedplus") -- │ Chars │ -- ╰───────╯ vim.opt.fillchars = { - -- horiz = "-", - -- vert = "▏", -- ▏│ ▎▍▌▋▊▉█ + horiz = "―", -- ⎯, ⎯ + horizup = " ", -- ○ + horizdown = " ", + vert = "▏", -- ▏│ ▎▍▌▋▊▉█ + vertleft = "◗", -- ⏴ + vertright = "◗", -- ⏵ + verthoriz = "◗", stl = " ", eob = " ", } diff --git a/lazy-lock.json b/lazy-lock.json index 456fbea..e222c16 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -10,7 +10,7 @@ "friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" }, "gitsigns.nvim": { "branch": "main", "commit": "5be654f2232c10ddcad19c1607a67b6b4b78fc29" }, "grug-far.nvim": { "branch": "main", "commit": "11595bf747edc270bce2069d1020502ad4ae56cf" }, - "gruvbox.nvim": { "branch": "main", "commit": "154eb5ff5b96d0641307113fa385eaf0d36d9796" }, + "gruvbox.nvim": { "branch": "main", "commit": "5f14f3426f34914b96d3595fa70a70b70329759a" }, "indent-blankline.nvim": { "branch": "master", "commit": "d28a3f70721c79e3c5f6693057ae929f3d9c0a03" }, "komau.vim": { "branch": "master", "commit": "f7c7a00c0cbb67ed269b565a4ada47d96dce14f3" }, "lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" }, @@ -25,12 +25,13 @@ "nvim-colorizer.lua": { "branch": "master", "commit": "72a05f62c52241bc7441c820eb53946f92b2e6a4" }, "nvim-lint": { "branch": "master", "commit": "3d55c8f67c6ae5c15e1042571e107c7a3d5c5f4e" }, "nvim-scrollbar": { "branch": "main", "commit": "f8e87b96cd6362ef8579be456afee3b38fd7e2a8" }, - "nvim-treesitter": { "branch": "main", "commit": "8b98b4470eb326f1c7b50dae79f8c963568e5720" }, + "nvim-treesitter": { "branch": "main", "commit": "857651fce37eba032ebe28f3a206283cdc65c45a" }, "nvim-treesitter-context": { "branch": "master", "commit": "f3061339b8eaf9fda873600bc425b8d2d8502533" }, "nvim-ts-autotag": { "branch": "main", "commit": "88c1453db4ba7dd24131086fe51fdf74e587d275" }, "nvim-web-devicons": { "branch": "master", "commit": "2ae6958df7ced50baac5035cec0c15799eedfbf7" }, "nvim-window-picker": { "branch": "main", "commit": "6382540b2ae5de6c793d4aa2e3fe6dbb518505ec" }, "overseer.nvim": { "branch": "master", "commit": "a93d9f6d6defdac4bcd6d2c8ba988650e42e0a0e" }, + "peek.nvim": { "branch": "master", "commit": "5820d937d5414baea5f586dc2a3d912a74636e5b" }, "plenary.nvim": { "branch": "master", "commit": "74b06c6c75e4eeb3108ec01852001636d85a932b" }, "scope.nvim": { "branch": "main", "commit": "228aabdb1b9cc74f0c0ccec88e79873857236e49" }, "smear-cursor.nvim": { "branch": "main", "commit": "9e9378d6ee34bb3782e0e8c63d9ec8ca618b479b" }, diff --git a/lua/plugins/preview.lua b/lua/plugins/preview.lua index 6a7fb95..e300092 100644 --- a/lua/plugins/preview.lua +++ b/lua/plugins/preview.lua @@ -31,4 +31,26 @@ return { }) end, }, + { + "toppair/peek.nvim", + event = { "VeryLazy" }, + build = "deno task --quiet build:fast", + opts = { + auto_load = true, -- whether to automatically load preview when + close_on_bdelete = true, + syntax = true, + theme = "light", -- 'dark' or 'light' + update_on_change = true, + -- app = "webview", -- 'webview', 'browser', string or a table of strings + app = { "surf" }, + filetype = { "markdown" }, -- list of filetypes to recognize as markdown + throttle_at = 200000, -- start throttling when file exceeds this + throttle_time = "auto", -- minimum amount of time in milliseconds + }, + config = function(_, opts) + require("peek").setup(opts) + vim.api.nvim_create_user_command("PeekOpen", require("peek").open, {}) + vim.api.nvim_create_user_command("PeekClose", require("peek").close, {}) + end, + }, } diff --git a/lua/plugins/style.lua b/lua/plugins/style.lua index 1a8f0a1..58e1e74 100644 --- a/lua/plugins/style.lua +++ b/lua/plugins/style.lua @@ -36,7 +36,8 @@ return { }, }, { - "ellisonleao/gruvbox.nvim", + "dqnid/gruvbox.nvim", + -- dir = "~/Documents/Code/gruvbox.nvim", priority = 1000, config = true, opts = { @@ -83,8 +84,8 @@ return { smear_insert_mode = true, -- fast smear - stiffness = 0.8, -- 0.6 [0, 1] - trailing_stiffness = 0.5, -- 0.4 [0, 1] + stiffness = 0.8, -- 0.6 [0, 1] + trailing_stiffness = 0.5, -- 0.4 [0, 1] stiffness_insert_mode = 0.6, -- 0.4 [0, 1] trailing_stiffness_insert_mode = 0.6, -- 0.4 [0, 1] distance_stop_animating = 0.5, -- 0.1 > 0