summaryrefslogtreecommitdiff
path: root/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/ntt.lua
blob: 0f68a89dbd21375b8bf124d72f3d2870ca876278 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
local util = require 'lspconfig.util'
local bin_name = 'ntt'

return {
  default_config = {
    cmd = { bin_name, 'langserver' },
    filetypes = { 'ttcn' },
    root_dir = util.root_pattern '.git',
  },
  docs = {
    description = [[
https://github.com/nokia/ntt
Installation instructions can be found [here](https://github.com/nokia/ntt#Install).
Can be configured by passing a "settings" object to `ntt.setup{}`:
```lua
require('lspconfig').ntt.setup{
    settings = {
      ntt = {
      }
    }
}
```
]],
    default_config = {
      root_dir = [[util.root_pattern(".git")]],
    },
  },
}