adding lsp server options pt 6
This commit is contained in:
parent
d5d9193e6b
commit
ca6cc310e9
|
@ -81,6 +81,14 @@ return {
|
||||||
}
|
}
|
||||||
print('DEBUG: servers table content: ' .. vim.inspect(servers))
|
print('DEBUG: servers table content: ' .. vim.inspect(servers))
|
||||||
|
|
||||||
|
local first_key, first_value = next(servers)
|
||||||
|
print('DEBUG: next(servers) returned key: ' .. tostring(first_key) .. ', value: ' .. vim.inspect(first_value))
|
||||||
|
if first_key == nil then
|
||||||
|
print "DEBUG: The 'servers' table is effectively empty for iteration with pairs()."
|
||||||
|
else
|
||||||
|
print "DEBUG: The 'servers' table is NOT empty for iteration."
|
||||||
|
end
|
||||||
|
|
||||||
-- Iterate through the defined servers list and set them up with lspconfig
|
-- Iterate through the defined servers list and set them up with lspconfig
|
||||||
print 'LSPConfig: Iterating servers...'
|
print 'LSPConfig: Iterating servers...'
|
||||||
for server_name, server_config_override in ipairs(servers) do
|
for server_name, server_config_override in ipairs(servers) do
|
||||||
|
|
Loading…
Reference in New Issue