Skip to content

Commit

Permalink
feat: add snakeskin_ls server configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksim Sinelnikov committed Aug 29, 2024
1 parent 2a6f00f commit 7845af5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions lua/lspconfig/server_configurations/snakeskin_ls.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
local util = require 'lspconfig.util'

return {
default_config = {
cmd = { '@snakeskin/cli', 'lsp', '--stdio' },
filetypes = { 'ss' },
root_dir = util.root_pattern 'package.json',
},
docs = {
description = [[
https://www.npmjs.com/package/@snakeskin/cli
`snakeskin cli` can be installed via `npm`:
```sh
npm install -g @snakeskin/cli
```
]],
},
}

0 comments on commit 7845af5

Please sign in to comment.