···3535 end
36363737 local name = vim.api.nvim_buf_get_name(buf)
3838- local m = string.match(name, '^%w+://')
3939- if m ~= 'file://' then
3838+ local m = string.match(name, "^%w+://")
3939+ if m ~= "file://" then
4040 return
4141 end
42424343 vim.g.winbar = winbar.current
4444- vim.api.nvim_set_option_value("winbar", '%!v:lua.vim.g.winbar()', { scope = "local" })
4444+ vim.api.nvim_set_option_value("winbar", "%!v:lua.vim.g.winbar()", { scope = "local" })
4545end
46464747local function getfilename()
···88 ---@diagnostic disable-next-line: param-type-mismatch
99 local ok, result = pcall(vim.lsp.config, name, cfg)
1010 if not ok then
1111- vim.notify(('unable to configure lsp server %s:\n\t%s'):format(name, result))
1111+ vim.notify(("unable to configure lsp server %s:\n\t%s"):format(name, result))
1212 return
1313 end
1414 vim.lsp.enable(name)