forked from arjanadriaanse/pascal-language-server
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpascal.lua
More file actions
27 lines (24 loc) · 645 Bytes
/
pascal.lua
File metadata and controls
27 lines (24 loc) · 645 Bytes
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
local configs = require 'lspconfig/configs'
local util = require 'lspconfig/util'
configs.pascal = {
default_config = {
cmd = {
"pasls",
-- Uncomment for debugging:
--"--save-log", "pasls-log", "--save-replay", "pasls-replay"
};
filetypes = {"pascal"};
root_dir = util.root_pattern(".git", "Makefile.fpc");
init_options = {}
};
docs = {
description = [[
https://github.com/Isopod/pascal-language-server
`pascal-language-server`, a language server for Pascal, based on fpc.
]];
default_config = {
root_dir = [[root_pattern(".git", "Makefile.fpc")]];
};
};
};
-- vim:et ts=2 sw=2