diff options
Diffstat (limited to 'dot_config/nvim_new/lsp/tsp_server.lua')
| -rw-r--r-- | dot_config/nvim_new/lsp/tsp_server.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dot_config/nvim_new/lsp/tsp_server.lua b/dot_config/nvim_new/lsp/tsp_server.lua new file mode 100644 index 0000000..6e9b8d8 --- /dev/null +++ b/dot_config/nvim_new/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' }, +} |
