feat(home-manager): rework neovim configuration
Use new neovim option introduced in 0.11
This commit is contained in:
parent
5ac9a372b9
commit
69493a7d84
13 changed files with 208 additions and 194 deletions
17
modules/home-manager/cli/neovim/files/lsp/bash.lua
Normal file
17
modules/home-manager/cli/neovim/files/lsp/bash.lua
Normal file
|
@ -0,0 +1,17 @@
|
|||
return {
|
||||
cmd = { 'bash-language-server', 'start' },
|
||||
settings = {
|
||||
bashIde = {
|
||||
-- Glob pattern for finding and parsing shell script files in the workspace.
|
||||
-- Used by the background analysis features across files.
|
||||
|
||||
-- Prevent recursive scanning which will cause issues when opening a file
|
||||
-- directly in the home directory (e.g. ~/foo.sh).
|
||||
--
|
||||
-- Default upstream pattern is "**/*@(.sh|.inc|.bash|.command)".
|
||||
globPattern = vim.env.GLOB_PATTERN or '*@(.sh|.inc|.bash|.command)',
|
||||
},
|
||||
},
|
||||
filetypes = { 'bash', 'sh' },
|
||||
root_markers = { '.git' },
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue