diff options
Diffstat (limited to 'nvim/lsp/tsp_server.lua')
| -rwxr-xr-x | nvim/lsp/tsp_server.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nvim/lsp/tsp_server.lua b/nvim/lsp/tsp_server.lua new file mode 100755 index 0000000..6e9b8d8 --- /dev/null +++ b/nvim/lsp/tsp_server.lua @@ -0,0 +1,15 @@ +---@brief +--- +--- https://github.com/microsoft/typespec +--- +--- The language server for TypeSpec, a language for defining cloud service APIs and shapes. +--- +--- `tsp-server` can be installed together with the typespec compiler via `npm`: +--- ```sh +--- npm install -g @typespec/compiler +--- ``` +return { + cmd = { 'tsp-server', '--stdio' }, + filetypes = { 'typespec' }, + root_markers = { 'tspconfig.yaml', '.git' }, +} |
