0.1.0 • Published 1 year ago

asyncflows-lsp v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Installation

To associate an asyncflows YAML file with the language server, place this snippet at the top of the file:

# yaml-language-server: $schema=https://raw.githubusercontent.com/asynchronous-flows/asyncflows/main/schemas/asyncflows_schema.json

Then, follow the instructions for your editor. If your editor is not specified here, but you would like to use the language server, please open an issue.

VSCode

You can find the extension on the VSCode marketplace.

Alternatively, install it manually:

  1. Download vsix file from here.
  2. Navigate to the Extensions view
  3. Click on the ... menu
  4. Select Install from VSIX...
  5. Select the downloaded vsix file
  6. Reload the window

NeoVim

local nvim_lsp = require('lspconfig')
local configs = require('lspconfig.configs')

if not configs.asyncflows_lsp then
configs.asyncflows_lsp = {
  default_config = {
    name = "asyncflows-lsp",
    cmd = { 'asyncflows-lsp --stdio' },
    filetypes = { 'yaml' },
    root_dir = function(fname)
      return "."
    end,
},
}
end
local capabilities = require('cmp_nvim_lsp').default_capabilities(vim.lsp.protocol.make_client_capabilities())
nvim_lsp.asyncflows_lsp.setup {
  capabilities = capabilities
}
nvim_lsp.asyncflows_lsp.setup {
}

Helix

[language-server.asyncflows-lsp]
command = "asyncflows-lsp"
args = ["--stdio"]


[[language]]
name = "yaml"
language-servers = ["asyncflows-lsp", "yaml-lsp"]

Development

VSCode

git clone https://github.com/asynchronous-flows/asyncflows-lsp --depth 1
cd asyncflows-lsp
make build
code editors/code

Other editors

npm install -g asyncflows-lsp
0.1.13-dev.4

11 months ago

0.1.13-dev.3

11 months ago

0.1.13-dev.2

11 months ago

0.1.10

12 months ago

0.1.11

12 months ago

0.1.13

12 months ago

0.1.12-dev

12 months ago

0.1.13-dev.5

11 months ago

0.1.7-alpha.1

12 months ago

0.1.11-dev

12 months ago

0.2.0-alpha.1

12 months ago

0.1.6-alpha.1

12 months ago

0.1.13-dev

11 months ago

0.2.0

12 months ago

0.1.6-alpha.2

12 months ago

0.1.8

12 months ago

0.1.7

12 months ago

0.1.9

12 months ago

0.1.6

1 year ago

0.1.4

1 year ago

0.1.2-alpha.5

1 year ago

0.1.2-alpha.4

1 year ago

0.1.2-alpha.3

1 year ago

0.1.2-alpha.2

1 year ago

0.1.2-alpha.1

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago