summaryrefslogtreecommitdiff
path: root/.config/nvim/lsp/rlsp_yaml.lua
blob: e866ef0e299178e0b70f58127b526df424682908 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
-- https://github.com/chdalski/rlsp/tree/main/rlsp-yaml

return {
    name = 'rlsp-yaml',
    cmd = { 'rlsp-yaml' },
    filetypes = { 'yaml', 'yml' },
    root_markers = { '.git' },
    workspace_required = false,
    init_options = {
        customTags = { '!include', '!ref' },
        keyOrdering = false,
        kubernetesVersion = 'master',
        schemaStore = true,
        formatValidation = true,
        schemas = {
            ['https://json.schemastore.org/github-workflow'] = '.github/workflows/*.yml',
        },
        formatPrintWidth = 80,
        formatSingleQuote = false,
        formatPreserveQuotes = false,
        httpProxy = 'http://proxy.corp:8080',
    },
}