Compare commits

...

2 Commits

Author SHA1 Message Date
a7c3dcf6c3 Updating shit yo 2025-05-02 10:59:30 +02:00
ac112f878c Adding bashls to lsp config 2025-05-02 10:58:07 +02:00
2 changed files with 12 additions and 3 deletions

View File

@@ -8,12 +8,12 @@ neovim has to be version 0.10.0 or later.
Denpenting on your OS neovim and the requirements can be installed on Rhel or Fedora like this
```
sudo dnf install neovim npm ansible ansible-lint ripgrep
sudo dnf install neovim npm ansible ansible-lint ripgrep ShellCheck
```
If you are using Ubuntu it can be done like this
```
sudo apt install neovim npm ansible ansible-lint ripgrep
sudo apt install neovim npm ansible ansible-lint ripgrep shellcheck
```
How to use the plugins and configuration

View File

@@ -30,6 +30,7 @@ return {
"ansiblels",
"terraformls",
"pylsp",
"bashls",
},
handlers = {
function(server_name) -- default handler (optional)
@@ -80,6 +81,14 @@ return {
})
end,
["bashls"] = function ()
local lspconfig = require("lspconfig")
lspconfig["bashls"].setup({
cmd = { "bash-language-server", "start" },
filetypes = { 'bash', 'sh' },
single_file_support = false,
})
end,
["lua_ls"] = function()
local lspconfig = require("lspconfig")
@@ -131,4 +140,4 @@ return {
},
})
end
}
}