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: 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)

View File

@ -22,6 +22,8 @@ local plugins = {
return require "custom.configs.none-ls" return require "custom.configs.none-ls"
end, end,
}, },
-- Go plugins
{ {
"ray-x/go.nvim", "ray-x/go.nvim",
config = function() config = function()
@ -32,19 +34,16 @@ local plugins = {
ft = {"go", 'gomod'}, ft = {"go", 'gomod'},
build = ':lua require("go.install").update_all_sync()' -- if you need to install/update all binaries build = ':lua require("go.install").update_all_sync()' -- if you need to install/update all binaries
}, },
-- Markdown plugins
--[[
{ {
"olexsmir/gopher.nvim", 'ixru/nvim-markdown',
ft = "go", ft = "markdown",
config = function (_, opts) },
require("gopher").setup(opts) {
require("core.utils").load_mappings("gopher") "iamcco/markdown-preview.nvim",
end, cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
build = function () ft = { "markdown" },
vim.cmd [[silent! GoInstallDeps]] build = function() vim.fn["mkdp#util#install"]() end,
--end, }
--},
--]]--
} }
return plugins return plugins