diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2025-04-26 16:02:39 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-26 16:02:39 -0700 |
| commit | c1366639e913af5dcdaafe73d7374f336fc58a5c (patch) | |
| tree | 5fb9f312ec8abbd4e51b179e91a1592dfab1c603 /lsp/volar.lua | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-c1366639e913af5dcdaafe73d7374f336fc58a5c.tar nvim-lspconfig-c1366639e913af5dcdaafe73d7374f336fc58a5c.tar.gz nvim-lspconfig-c1366639e913af5dcdaafe73d7374f336fc58a5c.tar.bz2 nvim-lspconfig-c1366639e913af5dcdaafe73d7374f336fc58a5c.tar.lz nvim-lspconfig-c1366639e913af5dcdaafe73d7374f336fc58a5c.tar.xz nvim-lspconfig-c1366639e913af5dcdaafe73d7374f336fc58a5c.tar.zst nvim-lspconfig-c1366639e913af5dcdaafe73d7374f336fc58a5c.zip | |
docs: cleanup #3792
Diffstat (limited to 'lsp/volar.lua')
| -rw-r--r-- | lsp/volar.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lsp/volar.lua b/lsp/volar.lua index 80c08e12..50b9a326 100644 --- a/lsp/volar.lua +++ b/lsp/volar.lua @@ -64,10 +64,10 @@ --- tsdk = '/path/to/node_modules/typescript/lib' --- } --- }, ---- on_new_config = function(new_config, new_root_dir) +--- before_init = function(params, config) --- local lib_path = vim.fs.find('node_modules/typescript/lib', { path = new_root_dir, upward = true })[1] --- if lib_path then ---- new_config.init_options.typescript.tsdk = lib_path +--- config.init_options.typescript.tsdk = lib_path --- end --- end --- }) |
