Add markdown plugins
parent
17715e6d61
commit
bb2816652c
|
@ -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:
|
The list of the plugins:
|
||||||
- [gopls](https://github.com/golang/tools/tree/master/gopls) : Go langage server (Autocompletion)
|
- [gopls](https://github.com/golang/tools/tree/master/gopls) : Go langage server (Autocompletion)
|
||||||
- [gopher](https://github.com/olexsmir/gopher.nvim) : Add key mappings
|
- [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)
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,8 @@ local plugins = {
|
||||||
return require "custom.configs.none-ls"
|
return require "custom.configs.none-ls"
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- Go plugins
|
||||||
{
|
{
|
||||||
"olexsmir/gopher.nvim",
|
"olexsmir/gopher.nvim",
|
||||||
ft = "go",
|
ft = "go",
|
||||||
|
@ -33,5 +35,17 @@ local plugins = {
|
||||||
vim.cmd [[silent! GoInstallDeps]]
|
vim.cmd [[silent! GoInstallDeps]]
|
||||||
end,
|
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
|
return plugins
|
||||||
|
|
Loading…
Reference in New Issue