with_element_and_symbol(editor, file) do |element, symbol| return element && symbol ? true : false end
The plugin knows the type of 'editor' but still highlights an error: Value 'editor' does not seem to have method 'caret_model' with 0 arg(s)