Add markdown plugins

main
antoine.lenours 2024-01-09 10:49:02 +01:00
parent 17715e6d61
commit bb2816652c
2 changed files with 19 additions and 0 deletions

View File

@ -11,3 +11,8 @@ I added some plugins, check it out in `lua/custom/plugins.lua` and `lua/custom/m
The list of the plugins:
- [gopls](https://github.com/golang/tools/tree/master/gopls) : Go langage server (Autocompletion)
- [gopher](https://github.com/olexsmir/gopher.nvim) : Add key mappings
## Markdown
- [iamcco/markdown-preview.nvim](https://githib.com/iamcco/markdown-preview.nvim)
- [ixru/nvim-markdown](https://github.com/ixru/nvim-markdown)

View File

@ -22,6 +22,8 @@ local plugins = {
return require "custom.configs.none-ls"
end,
},
-- Go plugins
{
"olexsmir/gopher.nvim",
ft = "go",
@ -33,5 +35,17 @@ local plugins = {
vim.cmd [[silent! GoInstallDeps]]
end,
},
-- Markdown plugins
{
'ixru/nvim-markdown',
ft = "markdown",
},
{
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
ft = { "markdown" },
build = function() vim.fn["mkdp#util#install"]() end,
}
}
return plugins