diff --git a/.config/nvim/lua/config/lazy.lua b/.config/nvim/lua/config/lazy.lua index aac01af..9ad2694 100644 --- a/.config/nvim/lua/config/lazy.lua +++ b/.config/nvim/lua/config/lazy.lua @@ -11,6 +11,7 @@ require("lazy").setup({ -- add LazyVim and import its plugins { "LazyVim/LazyVim", import = "lazyvim.plugins" }, -- import any extras modules here + { import = "lazyvim.plugins.extras.formatting.prettier" }, -- { import = "lazyvim.plugins.extras.lang.typescript" }, -- { import = "lazyvim.plugins.extras.lang.json" }, -- { import = "lazyvim.plugins.extras.ui.mini-animate" }, diff --git a/.config/nvim/lua/plugins/mason.lua b/.config/nvim/lua/plugins/mason.lua new file mode 100644 index 0000000..b75dc8a --- /dev/null +++ b/.config/nvim/lua/plugins/mason.lua @@ -0,0 +1,9 @@ +return { + "williamboman/mason.nvim", + opts = { + ensure_installed = { + "gofumpt", + "prettierd", + }, + }, +} diff --git a/.config/nvim/lua/plugins/syntax.lua b/.config/nvim/lua/plugins/syntax.lua index 7975902..492ff6d 100644 --- a/.config/nvim/lua/plugins/syntax.lua +++ b/.config/nvim/lua/plugins/syntax.lua @@ -11,6 +11,9 @@ return { "svelte", "json", "go", + "gomod", + "gowork", + "gosum", }, }, }