plugins: improve md preview, install ToggleTerm

- Fixes the markdown preview node package installation.
- Removes the markdown preview theme configuration.
- Adds the ToggleTerm plugin that allows to improve the managment of
  terminal buffers and configures it.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
iGor milhit 2023-06-16 15:43:27 +02:00
parent 7c52a10de3
commit c2fdfafae4
Signed by: igor
GPG Key ID: 692D97C3D0228A99
2 changed files with 17 additions and 4 deletions

View File

@ -1,9 +1,6 @@
-- makdown-preview.nvim
-- installed with code found at https://github.com/iamcco/markdown-preview.nvim/issues/558#issuecomment-1514701537
-- Force the light theme, no matter the system option is.
vim.cmd([[ let g:mkdp_theme = 'light' ]])
return {
{
"iamcco/markdown-preview.nvim",
@ -12,6 +9,6 @@ return {
'markdown'
},
lazy = true,
build = "cd app && yarn install",
build = "cd app && npm install && git reset --hard",
},
}

View File

@ -0,0 +1,16 @@
-- A neovim lua plugin to help easily manage multiple terminal windows
-- https://github.com/akinsho/toggleterm.nvim
-- Set ZSH as shell to get it in a terminal buffer
vim.opt.shell = "/usr/bin/zsh"
return {
{
'akinsho/toggleterm.nvim',
version = "*",
opts = {
-- Avoid terminal to be darker than the Nord colorscheme
shade_terminals = false
}
}
}