aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/configs/thriftls.lua
blob: 1e0b17196fe2d09ebc602c2ce0b2e1c2422de053 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
local util = require 'lspconfig.util'

return {
  default_config = {
    cmd = { 'thriftls' },
    filetypes = { 'thrift' },
    root_dir = util.root_pattern '.thrift',
    single_file_support = true,
  },
  docs = {
    description = [[
https://github.com/joyme123/thrift-ls

you can install thriftls by mason or download binary here: https://github.com/joyme123/thrift-ls/releases
]],
  },
}