-
Notifications
You must be signed in to change notification settings - Fork 107
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Checking mergeability…
Don’t worry, you can still create the pull request.
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: google/vim-codefmt
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: jsonnetfmt
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: google/vim-codefmt
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 11 commits
- 14 files changed
- 4 contributors
Commits on Nov 10, 2023
-
This uses https://domluna.github.io/JuliaFormatter.jl/stable/ with a format.jl script wrapper to handle line ranges and input from stdin.
Configuration menu - View commit details
-
Copy full SHA for af18bf5 - Browse repository at this point
Copy the full SHA af18bf5View commit details
Commits on Nov 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7005937 - Browse repository at this point
Copy the full SHA 7005937View commit details
Commits on Nov 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 89c0dfb - Browse repository at this point
Copy the full SHA 89c0dfbView commit details
Commits on Nov 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for dbe3057 - Browse repository at this point
Copy the full SHA dbe3057View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae8bd7a - Browse repository at this point
Copy the full SHA ae8bd7aView commit details
Commits on Nov 24, 2023
-
This formatter uses a script wrapping the [JuliaFormatter.jl library](https://github.com/domluna/JuliaFormatter.jl). This "formatter script in the plugin" approach hasn't been taken before in `vim-codefmt`, so let me know if you'd prefer a different approach or to reorganize things. (The JuliaFormatter.jl library ships with an executable script, but it only works on file paths (not stdin) and can't handle line ranges. I'm also not sure how to get the path of a bin directory in your Julia environment, which doesn't work like executables in a package management system like npm.) If the user hasn't installed the `JuliaFormatter` package, instructions will point to an `install` script in the same directory as the formatter script. I've tested the shell version of this script, but don't have a Windows machine to test the `.cmd` version. The line-range handling is a bit of a hack: the underlying library doesn't expose this functionality, so I used comments to enable/disable the formatter around relevant blocks. I found some edge case behaviors that I've hopefully documented clearly. The script will use the same `.JuliaFormatter.toml` files in the parent directory hierarchy of the source file being edited to determine the formatter options like style, indent, and line width. This is the same behavior that running the executable from JuliaFormatter.
Configuration menu - View commit details
-
Copy full SHA for 22e551a - Browse repository at this point
Copy the full SHA 22e551aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6730fb - Browse repository at this point
Copy the full SHA c6730fbView commit details
Commits on Jan 13, 2024
-
Update README.md with missing languages
Also sort lists, document which filetypes support Prettier, and match the AutoFormatBuffer example to the language list.
Configuration menu - View commit details
-
Copy full SHA for 6fa1616 - Browse repository at this point
Copy the full SHA 6fa1616View commit details
Commits on Aug 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 123b4de - Browse repository at this point
Copy the full SHA 123b4deView commit details
Commits on Aug 28, 2024
-
ruff formatter: Fix bug running non-stdin version
Forgot to pass the "-" placeholder for stdin. Apparently if you pass --stdin-filename ruff assumes stdin, but if there's no filename it can get confused and format everything in-place instead of formatting the editor buffer.
Configuration menu - View commit details
-
Copy full SHA for 805e894 - Browse repository at this point
Copy the full SHA 805e894View commit details
Commits on Aug 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ff464a4 - Browse repository at this point
Copy the full SHA ff464a4View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff jsonnetfmt...master