diff --git a/.config/nvim/lua/plugins/extras/lang/web/vue-2.lua b/.config/nvim/lua/plugins/extras/lang/web/vue-2.lua new file mode 100644 index 00000000..d679095e --- /dev/null +++ b/.config/nvim/lua/plugins/extras/lang/web/vue-2.lua @@ -0,0 +1,35 @@ +return { + { + "nvim-treesitter/nvim-treesitter", + opts = function(_, opts) + if type(opts.ensure_installed) == "table" then + vim.list_extend(opts.ensure_installed, { "vue" }) + end + end, + }, + { + "neovim/nvim-lspconfig", + opts = { + servers = { + vuels = {}, + volar = { + enabled = false, + }, + }, + }, + }, + { + "williamboman/mason.nvim", + opts = function(_, opts) + opts.ensure_installed = opts.ensure_installed or {} + vim.list_extend(opts.ensure_installed, { "vetur-vls" }) + end, + }, + { + "luckasRanarison/nvim-devdocs", + optional = true, + ensure_installed = { + "vue-3", + }, + }, +} diff --git a/.config/nvim/lua/plugins/extras/lang/web/vue.lua b/.config/nvim/lua/plugins/extras/lang/web/vue-3.lua similarity index 100% rename from .config/nvim/lua/plugins/extras/lang/web/vue.lua rename to .config/nvim/lua/plugins/extras/lang/web/vue-3.lua