mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 17:34:47 -05:00
docs: Fix instructions about how to setup development environment with Vim/Neovim (#8937)
This commit is contained in:
parent
af222f7a7f
commit
bcdc2da4c7
1 changed files with 6 additions and 1 deletions
|
@ -182,7 +182,12 @@ if executable("deno")
|
||||||
\ "name": "deno lsp",
|
\ "name": "deno lsp",
|
||||||
\ "cmd": {server_info -> ["deno", "lsp"]},
|
\ "cmd": {server_info -> ["deno", "lsp"]},
|
||||||
\ "root_uri": {server_info->lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(), "tsconfig.json"))},
|
\ "root_uri": {server_info->lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(), "tsconfig.json"))},
|
||||||
\ "whitelist": ["typescript", "typescript.tsx"],
|
\ "allowlist": ["typescript", "typescript.tsx"],
|
||||||
|
\ "initialization_options": {
|
||||||
|
\ "enable": v:true,
|
||||||
|
\ "lint": v:true,
|
||||||
|
\ "unstable": v:true,
|
||||||
|
\ },
|
||||||
\ })
|
\ })
|
||||||
augroup END
|
augroup END
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue