1 local capabilities = vim.lsp.protocol.make_client_capabilities()
 
   2 vim.lsp.config["*"] = { capabilities = capabilities, enable = true }
 
   8 vim.diagnostic.config({
 
  11         ["update_in_insert"] = false,
 
  12         ["virtual_lines"] = false,
 
  13         ["virtual_text"] = true,
 
  16 vim.lsp.config["bash-ls"] = {
 
  17         cmd = { "bash-language-server", "start" },
 
  19         filetypes = { "bash", "sh" },
 
  20         root_markers = { ".git" },
 
  21         settings = { basheIde = { globPattern = vim.env.GLOB_PATTERN or "*@(.sh|.inc|.bash|.command)" } },
 
  23 vim.lsp.config["lua-language-server"] = {
 
  24         cmd = { "lua-language-server" },
 
  26         filetypes = { "lua" },
 
  38 vim.lsp.config["nil"] = {
 
  41         filetypes = { "nix" },
 
  42         root_markers = { ".git", "flake.nix" },
 
  45                         formatting = { command = { "nixfmt" } },