aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim_lsp/gdscript.lua
blob: e4dfb5c33f510847c8f0304525bbe367a7ab67cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
local configs = require 'nvim_lsp/configs'
local util = require 'nvim_lsp/util'

configs.gdscript = {
  default_config = {
    cmd = {"nc", "localhost", "6008"};
    filetypes = {"gd", "gdscript", "gdscript3"};
    root_dir = util.root_pattern("project.godot", ".git");
  };
  docs = {
    description = [[
https://github.com/godotengine/godot

Language server for GDScript, used by Godot Engine.
]];
    default_config = {
      root_dir = util.root_pattern("project.godot", ".git");
    };
  };
};

-- vim:et ts=2 sw=2