summaryrefslogtreecommitdiff
path: root/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/hydra_lsp.lua
blob: e162ebe29adbdd7489c20101c06f47d113ad5b54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
local util = require 'lspconfig.util'

return {
  default_config = {
    cmd = { 'hydra-lsp' },
    filetypes = { 'yaml' },
    root_dir = util.root_pattern '.git',
    single_file_support = true,
  },
  docs = {
    description = [[
https://github.com/Retsediv/hydra-lsp

LSP for Hydra Python package config files.
]],
    default_config = {
      root_dir = [[util.root_pattern '.git']],
    },
  },
}