-
Notifications
You must be signed in to change notification settings - Fork 51
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
Problem using strformat/fmt (neovim) #149
Comments
This is likely a nimsuggest error, could you try with nimsuggest and see if you can reproduce it there? If you can then report this to the nimsuggest bug tracker instead. |
If you run |
I'm not sure if this is the right logfile, but I added this config:
Then I made an empty directory containing a file for i in 1..3:
echo "Hello" Saving this file in neovim and then exiting produces this output in the log:
Then I initialised a new git repo and added the file with >> for i in 1..3: # E: expression 'n' has no type (or is ambiguous)
>> echo "Hello" # E: invalid indentation Log output was the same. Somehow the error messages are affected by git. Not sure if it's another plugin (e.g. vim-fugitive) affecting it -- will try to debug more. |
Hi, I'm getting output like this when I use
fmt
strings with interpolation:This compiles fine, but shows the error
expression expected, but found ')'
in neovim. I'm not sure exactly what's responsible for this message but it happens a lot.Here's how it looks when I'm editing:
The text was updated successfully, but these errors were encountered: