Browse Source

viewing image in ascii art

pull/14/head
Leslie Kerman 2 years ago
parent
commit
b8a75022d6
  1. 7
      lua/core/init.lua
  2. 3
      lua/core/plugins.lua
  3. 3
      lua/core/theme.lua

7
lua/core/init.lua

@ -39,6 +39,12 @@ vim.g.loaded_tutor_mode_plugin = 1
vim.g.loaded_remote_plugins = 1
require("core.theme")
require('image').setup {
min_padding = 5,
show_label = true,
render_using_dither = true,
}
-- Load plugin configs
-- plugins without extra configs are configured directly here
require("impatient")
@ -52,4 +58,3 @@ require("configs.git").config()
require("configs.bufferline").config()
require("configs.grammar").config()
require("configs.terminal").config()

3
lua/core/plugins.lua

@ -78,4 +78,7 @@ return require('packer').startup(function()
-- english grammar check
use 'rhysd/vim-grammarous'
-- ascii image
use 'samodostal/image.nvim'
end)

3
lua/core/theme.lua

@ -49,7 +49,8 @@
vim.g.edge_style = 'aura' -- neon, aura
vim.g.edge_better_performance = 1
vim.cmd("colorscheme edge")
vim.cmd("set background=light")
-- github
-- vim.cmd("colorscheme github_dark")
vim.cmd("set background=light")

Loading…
Cancel
Save