From 37e6d23906b46f2c0d7a783f2850c875ed632a91 Mon Sep 17 00:00:00 2001 From: Micah Halter Date: Tue, 16 Apr 2024 12:43:32 -0400 Subject: [PATCH] fix(vue): disable volar hybrid mode by default --- lua/astrocommunity/pack/vue/init.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/lua/astrocommunity/pack/vue/init.lua b/lua/astrocommunity/pack/vue/init.lua index 73b59f357..c8d1a418c 100644 --- a/lua/astrocommunity/pack/vue/init.lua +++ b/lua/astrocommunity/pack/vue/init.lua @@ -1,4 +1,21 @@ return { + { + "AstroNvim/astrolsp", + optional = true, + ---@type AstroLSPOpts + opts = { + ---@diagnostic disable: missing-fields + config = { + volar = { + init_options = { + vue = { + hybridMode = false, + }, + }, + }, + }, + }, + }, { "nvim-treesitter/nvim-treesitter", optional = true,