Merge branch 'main' of https://git.zacke.dev/wholteza/consultant-windows
This commit is contained in:
@@ -2,9 +2,10 @@
|
||||
-- external requirements
|
||||
-- - use nvm and install @vue/typescript-plugin globally
|
||||
-- then ts_ls will use it for vue parsing. It is already in the arch install script.
|
||||
local nvm_bin = os.getenv('nvm_home'):gsub('\n[^\n]*$', '') -- remove line endings
|
||||
local node_version = vim.fn.system('nvm current'):gsub('\n[^\n]*$', '') -- remove line endings
|
||||
local vue_typescript_plugin_path = vim.fs.normalize(nvm_bin .. '\\' .. node_version .. '\\node_modules\\@vue\\typescript-plugin')
|
||||
--local nvm_bin = os.getenv('nvm_home'):gsub('\n[^\n]*$', '') -- remove line endings
|
||||
--local node_version = vim.fn.system('nvm current'):gsub('\n[^\n]*$', '') -- remove line endings
|
||||
--local vue_typescript_plugin_path = vim.fs.normalize(nvm_bin .. '\\' .. node_version .. '\\node_modules\\@vue\\typescript-plugin')
|
||||
local vue_typescript_plugin_path = vim.fs.normalize('~/node_modules/@vue/typescript-plugin')
|
||||
|
||||
print(vue_typescript_plugin_path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user