Add glow: the markdown previewer

Currently using my own fork, will change to upstream once
the PR is accepted.
This commit is contained in:
juan 2022-05-09 11:25:29 +08:00
parent 931400b709
commit d64ee35bc8
Signed by: juan
GPG Key ID: 5C1E5093C74F1DC7
2 changed files with 11 additions and 2 deletions

View File

@ -1,4 +1,5 @@
-- Core Settings -- CORE SETTINGS
local opt = vim.o local opt = vim.o
local global = vim.g local global = vim.g
@ -26,5 +27,8 @@ opt.completeopt = 'noinsert'
global.neoformat_basic_format_align = 1 global.neoformat_basic_format_align = 1
global.neoformat_basic_format_trim = 1 global.neoformat_basic_format_trim = 1
-- glow settings
global.glow_border = "rounded"
-- leader settings -- leader settings
global.mapleader = ' ' global.mapleader = ' '

View File

@ -25,7 +25,7 @@ return require('packer').startup(function(use)
after = 'packer.nvim', after = 'packer.nvim',
config = function() config = function()
vim.g.serenade_enable_italic = 1 vim.g.serenade_enable_italic = 1
vim.g.serenade_sign_column_background = 'none' vim.g.serenade_sign_column_background = 'none'
vim.g.serenade_better_performance = 1 vim.g.serenade_better_performance = 1
vim.cmd("colorscheme serenade") vim.cmd("colorscheme serenade")
end end
@ -162,4 +162,9 @@ return require('packer').startup(function(use)
-- integrations -- integrations
use {"tpope/vim-fugitive", cmd = "G"} use {"tpope/vim-fugitive", cmd = "G"}
use {
"JuanCldCmt/glow.nvim",
branch = 'main',
cmd = {"Glow", "GlowInstall"}
}
end) end)