Skip to content

Commit

Permalink
feat(nvim): use volar's path for @vue/typescript-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
RayGuo-ergou committed Mar 21, 2024
1 parent 94d3f7c commit c313d28
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nvim/lua/ergou/util/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,7 @@ M.get_servers = function()
tsserver.init_options = tsserver.init_options or {} -- Ensure init_options is initialized
tsserver.init_options.plugins = tsserver.init_options.plugins or {} -- Ensure plugins is initialized

local vue_ts_plugin_path = volar:get_install_path()
.. '/node_modules/@vue/language-server/node_modules/@vue/typescript-plugin'
local vue_ts_plugin_path = volar:get_install_path() .. '/node_modules/@vue/language-server'

local vue_plugin = {
name = '@vue/typescript-plugin',
Expand Down

0 comments on commit c313d28

Please sign in to comment.