blob: a28ab2aaed516013fe012b7e70fcfe50fcc353ae (
plain) (
blame)
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 skeleton = require 'nvim_lsp/skeleton'
local util = require 'nvim_lsp/util'
local lsp = vim.lsp
local cwd = vim.loop.cwd()
skeleton.bash = {
default_config = {
cmd = {"bash-language-server", "start"};
filetypes = {"sh"};
root_dir = function() return cwd end;
log_level = lsp.protocol.MessageType.Warning;
settings = {};
};
-- on_new_config = function(new_config) end;
-- on_attach = function(client, bufnr) end;
docs = {
description = [[
For install instruction visit:
https://github.com/mads-hartmann/bash-language-server#installation
]];
default_config = {
root_dir = "vim's starting directory";
};
};
};
-- vim:et ts=2 sw=2
|