Skip to content

Commit

Permalink
remove dead code+no more glow for devdocs
Browse files Browse the repository at this point in the history
glow2 broke color rendering when the output is redirected: charmbracelet/glow#440
  • Loading branch information
emmanueltouzery committed Nov 13, 2024
1 parent 6d9f4cd commit 4d59932
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1133,15 +1133,13 @@ callbacks = {
width = 90,
border = "rounded",
},
previewer_cmd = 'glow',
cmd_args = { "-s", "tokyo-night", "-w", "80" },
picker_cmd = 'glow',
picker_cmd_args = { "-s", "tokyo-night", "-w", "80", "-p" },
-- previewer_cmd = 'glow',
-- cmd_args = { "-s", "tokyo-night", "-w", "80" },
-- picker_cmd = 'glow',
-- picker_cmd_args = { "-s", "tokyo-night", "-w", "80", "-p" },
ensure_installed = { "lodash-4", "javascript", "date_fns", "react", "openjdk-8", "rust", "dom"},
})
end}
vim.g.any_jump_disable_default_keybindings = 1
vim.g.any_jump_center_screen_after_jump = true
use {"mfussenegger/nvim-lint", commit="f707b3ae50417067fa63fdfe179b0bff6b380da1", config=function()
local lint = require("lint")
lint.linters_by_ft = {
Expand Down

0 comments on commit 4d59932

Please sign in to comment.