vlang / vsl

V library to develop Artificial Intelligence and High-Performance Scientific Computations
https://vlang.github.io/vsl
MIT License
351 stars 44 forks source link

Fix indent setting in `.editorconfig` for `*.v` files #183

Closed ttytm closed 11 months ago

ttytm commented 11 months ago

Updates a aged setting in the .editorconfig for V files.

I'm running into some editor interference with the current indent setting. If the current setting would actually be used it would also be incompatible with v fmt.

Summary by CodeRabbit

Please note, these changes are internal and do not affect the functionality or user experience of the software.

coderabbitai[bot] commented 11 months ago

Walkthrough

This pull request primarily focuses on modifying the EditorConfig file to enhance code formatting. The changes include switching the indentation style from spaces to tabs for files with extensions .v, .vsh, and .mod, and adding a rule to trim trailing whitespace in all files.

Changes

File Summary
.editorconfig The indentation style for files with .v, .vsh, and .mod extensions has been changed from spaces to tabs. A rule to trim trailing whitespace in all files has been added.

🐇

In the land of code, where the shadows lie,

Tabs replace spaces, under the EditorConfig sky.

Trailing whitespaces, we bid you goodbye,

For in this realm of brackets, clean code must comply! 🎉


Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - If you reply to a *review comment* from CodeRabbit, the bot will automatically respond. - To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment - Note: Review comments are made on code diffs or files, not on the PR overview. - Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. Note: For conversation with the bot, please use the review comments on code diffs or files.