Skip to content

Commit 45826c7

Browse files
authored
docs: update instructions for neovim lsp configuration (#5361)
1 parent 4811011 commit 45826c7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,11 @@ Note: The "Take Over" mode has been discontinued. Instead, a new "Hybrid" mode h
4545
4646
```lua
4747
-- If you are using mason.nvim, you can get the ts_plugin_path like this
48+
-- For Mason v1,
4849
-- local mason_registry = require('mason-registry')
4950
-- local vue_language_server_path = mason_registry.get_package('vue-language-server'):get_install_path() .. '/node_modules/@vue/language-server'
51+
-- For Mason v2,
52+
-- local vue_language_server_path = vim.fn.expand '$MASON/packages' .. '/vue-language-server' .. '/node_modules/@vue/language-server'
5053

5154
local vue_language_server_path = '/path/to/@vue/language-server'
5255

0 commit comments

Comments
 (0)