Fix merge

main
Atao 2024-01-12 19:20:34 +01:00
commit f69bd5adc6
2 changed files with 17 additions and 13 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
{
"ray-x/go.nvim",
config = function()
@ -32,19 +34,16 @@ local plugins = {
ft = {"go", 'gomod'},
build = ':lua require("go.install").update_all_sync()' -- if you need to install/update all binaries
},
--[[
-- Markdown plugins
{
"olexsmir/gopher.nvim",
ft = "go",
config = function (_, opts)
require("gopher").setup(opts)
require("core.utils").load_mappings("gopher")
end,
build = function ()
vim.cmd [[silent! GoInstallDeps]]
--end,
--},
--]]--
'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