federicoceratto / nimfmt Goto Github PK
View Code? Open in Web Editor NEWNim code formatter / linter / style checker
License: GNU General Public License v3.0
Nim code formatter / linter / style checker
License: GNU General Public License v3.0
Hi, just before anything thanks for your work, I'm trying to use nimfmt but despite the hint provided due to the lack of a config file, that is easy to adress creating it, I think it would be better for the tool to display said message to stderr or maybe disable it with a flag, best regards.
I'm running nim version 1.4.0, as installed by choosenim on linux.
Running this command:
nimble install compiler@#head
Doesn't seem to install nimfmt
Trying to install nimfmt from github with this command:
nimble install https://github.com/FedericoCeratto/nimfmt
Has this error:
Building nimfmt/nimfmt using c backend
/tmp/nimble_33447/githubcom_FedericoCerattonimfmt/nimfmt.nim(30, 31) Error: undeclared identifier: 'setupParsers'
Tip: 351 messages have been suppressed, use --verbose to show them.
Error: Build failed for package: nimfmt
... Execution failed with exit code 1
... Command: /home/david/.nimble/bin/nim c --colors:on --noNimblePath -d:release -d:NimblePkgVersion=0.1.0 --path:'/home/david/.nimble/pkgs/compiler-#head' --hints:off -o:/tmp/nimble_33447/githubcom_FedericoCerattonimfmt/nimfmt /tmp/nimble_33447/githubcom_FedericoCerattonimfmt/nimfmt.nim
I get a similar error with this command, but with fewer suppressed messages:
nimble install https://github.com/FedericoCeratto/nimfmt@#head
Building nimfmt/nimfmt using c backend
/tmp/nimble_33775/githubcom_FedericoCerattonimfmt_#head/nimfmt.nim(30, 31) Error: undeclared identifier: 'setupParsers'
Tip: 5 messages have been suppressed, use --verbose to show them.
Error: Build failed for package: nimfmt
... Execution failed with exit code 1
... Command: /home/david/.nimble/bin/nim c --colors:on --noNimblePath -d:release -d:NimblePkgVersion=0.1.0 --path:'/home/david/.nimble/pkgs/compiler-#head' --hints:off -o:'/tmp/nimble_33775/githubcom_FedericoCerattonimfmt_#head/nimfmt' '/tmp/nimble_33775/githubcom_FedericoCerattonimfmt_#head/nimfmt.nim'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.