I have this piece of ruby code:
def open(...)
local_path.open(...)
end
and the first two lines have red boxes around them and when I hover over either one it says "syntax error, unexpected ..., expecting ')'"
I have lsp-mode, projectile, etc. Indeed, here is the complete list of minor modes in this buffer:
Enabled minor modes: Abbrev Async-Bytecomp-Package
Auto-Compile-On-Load Auto-Compile-On-Save Auto-Composition
Auto-Compression Auto-Encryption Blink-Cursor Company Eldoc
Electric-Indent File-Name-Shadow Flymake Font-Lock Global-Company
Global-Eldoc Global-Font-Lock Global-Rbenv Helm
Helm-Minibuffer-History Inf-Ruby Leaf-Key-Override-Global Line-Number
Lsp Lsp-Completion Lsp-Diagnostics Lsp-Headerline-Breadcrumb
Lsp-Managed Lsp-Modeline-Code-Actions Lsp-Modeline-Diagnostics
Lsp-Modeline-Workspace-Status Menu-Bar Mouse-Wheel Projectile
Projectile-Rails Recentf Rspec Rspec-Verifiable Rubocop Shell-Dirtrack
Show-Paren Tab-Bar Tooltip Transient-Mark
Someone is using the wrong version of Ruby but who?