Skip to content
New issue

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

Error when invoking :CrystalDef #117

Open
stufro opened this issue Jan 19, 2024 · 0 comments
Open

Error when invoking :CrystalDef #117

stufro opened this issue Jan 19, 2024 · 0 comments
Labels
bug other Issues neither highlighting nor indentation

Comments

@stufro
Copy link

stufro commented Jan 19, 2024

Output of vim --version or nvim --version

NVIM v0.9.4
Build type: Release
LuaJIT 2.1.1703358377

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.9.4/share/nvim"

Run :checkhealth for more info

vim-crystal configuration in your .vimrc

require('pckr').add{
  'vim-crystal/vim-crystal';
}
vim.g.crystal_auto_format = 1;

Steps to reproduce

  1. Move cursor over a token
  2. <Leader>gd

Expected behavior

It takes you to the definition

Actual behavior

analyzing definitions under cursor...
Error: Invalid option: --link-flags=-Wl,-ld_classic^@
Press ENTER or type command to continue

Additional information

crystal --version
Crystal 1.10.1 (2023-10-13)

LLVM: 17.0.6
Default target: aarch64-apple-darwin23.2.0
@stufro stufro added bug other Issues neither highlighting nor indentation labels Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug other Issues neither highlighting nor indentation
Projects
None yet
Development

No branches or pull requests

1 participant