blob: 54d562f9b9b08b1d96b4d3756071cabf79cda060 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
vim.lsp.config('bashls', {
cmd = { 'bash-language-server', 'start' },
settings = {
bashIde = {
globPattern = vim.env.GLOB_PATTERN or '*@(.sh|.inc|.bash|.command)',
},
},
filetypes = { 'bash', 'sh', 'zsh' },
root_markers = { '.git' },
})
vim.lsp.enable('bashls')
|