Skip to content

Commit

Permalink
Fix indent setting in .editorconfig for *.v files (#183)
Browse files Browse the repository at this point in the history
* Fix indent setting in `.editorconfig` for `*.v` files

* Update related

* Fix formatting
  • Loading branch information
ttytm authored Oct 22, 2023
1 parent 904b61d commit 0279180
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 43 deletions.
11 changes: 3 additions & 8 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

# Matches multiple files with brace expansion notation
[*.v]
indent_style = space
indent_size = 8
[*.{v,vsh,mod}]
indent_style = tab

[*.rst]
indent_style = space
Expand Down
12 changes: 6 additions & 6 deletions fft/v.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Module {
name: 'fft'
description: 'PocketFFT-based Fast Fourier Transform'
version: '0.1.0'
license: 'MIT'
repo_url: 'https://github.com/vlang/vsl'
dependencies: []
name: 'fft'
description: 'PocketFFT-based Fast Fourier Transform'
version: '0.1.0'
license: 'MIT'
repo_url: 'https://github.com/vlang/vsl'
dependencies: []
}
10 changes: 5 additions & 5 deletions inout/h5/v.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Module {
name: 'h5'
description: 'Hierarchical data storage in a file'
version: '0.1.0'
license: 'MIT'
dependencies: []
name: 'h5'
description: 'Hierarchical data storage in a file'
version: '0.1.0'
license: 'MIT'
dependencies: []
}
12 changes: 6 additions & 6 deletions mpi/v.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Module {
name: 'mpi'
description: 'Message Passing Interface for parallel computing'
version: '0.1.0'
license: 'MIT'
repo_url: 'https://github.com/vlang/vsl'
dependencies: []
name: 'mpi'
description: 'Message Passing Interface for parallel computing'
version: '0.1.0'
license: 'MIT'
repo_url: 'https://github.com/vlang/vsl'
dependencies: []
}
12 changes: 6 additions & 6 deletions plot/v.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Module {
name: 'plot'
description: 'The VSL Plot lib'
version: '0.1.0'
license: 'MIT'
repo_url: 'https://github.com/vlang/vsl'
dependencies: []
name: 'plot'
description: 'The VSL Plot lib'
version: '0.1.0'
license: 'MIT'
repo_url: 'https://github.com/vlang/vsl'
dependencies: []
}
12 changes: 6 additions & 6 deletions v.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Module {
name: 'vsl'
description: 'The V Scientific Library'
version: '0.1.50'
license: 'MIT'
repo_url: 'https://github.com/vlang/vsl'
dependencies: []
name: 'vsl'
description: 'The V Scientific Library'
version: '0.1.50'
license: 'MIT'
repo_url: 'https://github.com/vlang/vsl'
dependencies: []
}
12 changes: 6 additions & 6 deletions vcl/v.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Module {
name: 'vcl'
description: 'V Computing Language'
version: '0.1.0'
license: 'MIT'
repo_url: 'https://github.com/vlang/vsl'
dependencies: []
name: 'vcl'
description: 'V Computing Language'
version: '0.1.0'
license: 'MIT'
repo_url: 'https://github.com/vlang/vsl'
dependencies: []
}

0 comments on commit 0279180

Please sign in to comment.