Comments (1)
Ah, I see. From syntastic logging:
syntastic: 51.534025: SyntasticMake: called with options: {'errorformat': '%ESyntax error in line %l: %m,%ESyntax error in %f:%l: %m,%EError in %f:%l: %m,%C%p^,%-C%.%#', 'makeprg': 'crystal run --no-codegen --no-color test.cr /home/pt/test.cr'}
syntastic: 51.641999: system: command run in 0.107112s
syntastic: 51.643227: getLocList: checker crystal/crystal returned 1
syntastic: 51.643997: getLocList: checker crystal/crystal run in 0.111502s%
Right, if I run:
$ crystal run --no-codegen test.cr
$ crystal run --no-codegen test.cr test.cr
Error in ./test.cr:1: alias MyAlias is already defined
alias MyAlias = Int32
^
Yes, so adding the entrypoint in post_args
causes this if the entry point is the same as the current file, so maybe the solution is to make it so that the entry point is not added if it's the same? Not sure I understand enough to be confident that that's the solution, but it would be my first guess
from vim-crystal.
Related Issues (20)
- Shorthand null checking indents an extra unit HOT 6
- Latest commit throws error on ECR files HOT 3
- ECR files break formatting entirely until vim restart HOT 2
- Add highlighting for variables HOT 4
- Option to write buffer before executing spec HOT 4
- have you looked into tree-sitter yet? HOT 2
- vim-crystal commands do not work HOT 8
- Create releases
- select not indended, should be handled like case HOT 1
- abstract def method prevents matchit to function properly
- Don't always require all specs
- Setting the compiler command to `bin/crystal` breaks the code on `:CrystalFormat` HOT 8
- Faulty syntax highlighting for numbers HOT 9
- [feature request] Comment block editing mode HOT 4
- Auto format should not block saving buffer HOT 3
- Syntax: regression in highlighting 'end' HOT 1
- macro 'end' highlighting regression HOT 1
- Regression in highlighting until...end HOT 1
- Invalid argument: crystalExceptional HOT 3
- Move to organization HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-crystal.