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 global = vim.g
@ -26,5 +27,8 @@ opt.completeopt = 'noinsert'
global.neoformat_basic_format_align = 1
global.neoformat_basic_format_trim = 1
-- glow settings
global.glow_border = "rounded"
-- leader settings
global.mapleader = ' '

View File

@ -162,4 +162,9 @@ return require('packer').startup(function(use)
-- integrations
use {"tpope/vim-fugitive", cmd = "G"}
use {
"JuanCldCmt/glow.nvim",
branch = 'main',
cmd = {"Glow", "GlowInstall"}
}
end)