|
@ -24,6 +24,11 @@ else |
|
|
) |
|
|
) |
|
|
end |
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
-- Set termguicolors on load |
|
|
|
|
|
if vim.fn.has('vim_starting') then |
|
|
|
|
|
vim.opt.termguicolors = true |
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
-- {{{ Default doom_config values |
|
|
-- {{{ Default doom_config values |
|
|
|
|
|
|
|
|
-- default_doom_config_values loads the default doom_config values |
|
|
-- default_doom_config_values loads the default doom_config values |
|
@ -418,6 +423,12 @@ end |
|
|
-- |
|
|
-- |
|
|
-- @param langs The list of languages in the doomrc |
|
|
-- @param langs The list of languages in the doomrc |
|
|
M.install_servers = function(langs) |
|
|
M.install_servers = function(langs) |
|
|
|
|
|
-- selene: allow(undefined_variable) |
|
|
|
|
|
if |
|
|
|
|
|
packer_plugins |
|
|
|
|
|
and packer_plugins['lspinstall'] |
|
|
|
|
|
and packer_plugins['lspinstall'].loaded |
|
|
|
|
|
then |
|
|
local lspinstall = require('lspinstall') |
|
|
local lspinstall = require('lspinstall') |
|
|
local installed_servers = lspinstall.installed_servers() |
|
|
local installed_servers = lspinstall.installed_servers() |
|
|
local available_servers = lspinstall.available_servers() |
|
|
local available_servers = lspinstall.available_servers() |
|
@ -445,6 +456,7 @@ M.install_servers = function(langs) |
|
|
end |
|
|
end |
|
|
end |
|
|
end |
|
|
end |
|
|
end |
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
-- Check plugins updates on start if enabled |
|
|
-- Check plugins updates on start if enabled |
|
|
if M.load_config().doom.check_updates then |
|
|
if M.load_config().doom.check_updates then |
|
|