We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey,
while configuring my galaxyline I tried to generate a separator dynamically using a function like this:
separator = function() if next(vim.lsp.get_active_clients()) ~= nil then return " " else return "" end end,
However, this throws the following error:
Am I doing this wrong here or can the separator not be a function type? Because as of the README, the separator can be a function type:
The text was updated successfully, but these errors were encountered:
separator point to the function separator() point to the function's result
separator
separator()
-- Wrong local foo = bar .. separator -- Right local foo = bar .. separator()
Sorry, something went wrong.
Getting same problem. From the source code, it doesn't look like separator is handled when it's a function.
any news?
No branches or pull requests
Hey,
while configuring my galaxyline I tried to generate a separator dynamically using a function like this:
However, this throws the following error:
Am I doing this wrong here or can the separator not be a function type? Because as of the README, the separator can be a function type:
The text was updated successfully, but these errors were encountered: