summaryrefslogtreecommitdiff
path: root/lsp/odin.lua
blob: ee6ced4107271834149635e22a90f0ee9a8a9b7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
return {
  cmd = { "ols" },
  filetypes = { "odin" },
  root_markers = { "ols.json", ".git", "*.odin" },
  single_file_support = true,
  init_options = {
    checker_args = "-strict-style",
    init_options = {
      schema = "https://raw.githubusercontent.com/DanielGavin/ols/master/misc/odinfmt.schema.json",
      checker_args = "-strict-style",
      enable_semantic_tokens = false,
      enable_document_symbols = true,
      enable_hover = true,
      enable_snippets = true,
    },
  },
}