Skip to content

Commit

Permalink
Merge pull request #3200 from yutkat/v43.202
Browse files Browse the repository at this point in the history
neovim: Fix alpha
  • Loading branch information
yutkat authored Dec 24, 2022
2 parents a557a56 + bd7c460 commit 160f497
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .config/nvim/lua/rc/pluginconfig/alpha-nvim.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dashboard.section.header.opts.hl = "Question"
-- dashboard.section.header.val = vim.fn.readfile(vim.fn.expand("~/.config/nvim/lua/rc/files/dashboard_custom_header.txt"))
dashboard.section.buttons.val = {
dashboard.button("s", " Open last session", ":PossessionLoadCurrent<CR>"),
dashboard.button("h", " Recently opened files", ":Telescope my_mru<CR>"),
dashboard.button("h", " Recently opened files", ":Telescope my_mru<CR>"),
dashboard.button("f", " Find file", ":Telescope find_files<CR>"),
dashboard.button("e", " New file", ":enew<CR>"),
dashboard.button("b", " Jump to bookmarks", ":Telescope marks<CR>"),
Expand All @@ -60,7 +60,7 @@ vim.api.nvim_create_autocmd({ "User" }, {
callback = function()
if vim.fn.executable("onefetch") == 1 then
local header =
split(capture("onefetch 2>/dev/null | sed -r 's/\x1B\\[(;?[0-9]{1,3})+[mGK]//g'", true), "\n")
split(capture("onefetch 2>/dev/null | sed -r 's/\x1B\\[(;?[0-9]{1,3})+[mGK]//g'", true), "\n")
if next(header) ~= nil then
require("alpha.themes.dashboard").section.header.val = header
require("alpha").redraw()
Expand Down
1 change: 1 addition & 0 deletions .config/nvim/lua/rc/pluginconfig/modicator.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
local modicator = require("modicator")
vim.o.cursorline = true
modicator.setup({
show_warnings = false,
line_numbers = false,
cursorline = true,
highlights = {
Expand Down

0 comments on commit 160f497

Please sign in to comment.