aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lsp/robotcode.lua
blob: a30722e0ff10a4962dde6b27d6e0a34058b6517e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---@brief
---
--- https://robotcode.io
---
--- RobotCode - Language Server Protocol implementation for Robot Framework.

---@type vim.lsp.Config
return {
  cmd = { 'robotcode', 'language-server' },
  filetypes = { 'robot', 'resource' },
  root_markers = { 'robot.toml', 'pyproject.toml', 'Pipfile', '.git' },
  get_language_id = function(_, _)
    return 'robotframework'
  end,
}