-
It seems strange to me that: if state.highlighter.group then
vim.api.nvim_del_augroup_by_id(state.highlighter.group)
end produces no warning, as expected, while: if state.highlighter.group then
vim.api.nvim_del_augroup_by_id(state.highlighter.group)
state.highlighter.group = nil
end produces Is it |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
If |
Beta Was this translation helpful? Give feedback.
-
Due to Lua’s dynamic nature, I can’t rely on require or any specific order to determine the actual definition of a field. |
Beta Was this translation helpful? Give feedback.
Due to Lua’s dynamic nature, I can’t rely on require or any specific order to determine the actual definition of a field.