Skip to content

Commit 261d02c

Browse files
committed
add default support for vala (closes #101)
1 parent 6c4f477 commit 261d02c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ Automatic formatting is provided for the following languages by default:
88

99
- C
1010
- C++
11-
- Cuda
1211
- Objective-C
1312
- JavaScript
1413
- Java
1514
- TypeScript
1615
- Protobuf
16+
- Cuda
17+
- Vala
1718

1819
## Screenshot
1920

autoload/clang_format.vim

+2-2
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ let g:clang_format#auto_format = s:getg('clang_format#auto_format', 0)
196196
let g:clang_format#auto_format_on_insert_leave = s:getg('clang_format#auto_format_on_insert_leave', 0)
197197
let g:clang_format#auto_formatexpr = s:getg('clang_format#auto_formatexpr', 0)
198198
let g:clang_format#auto_filetypes = s:getg( 'clang_format#auto_filetypes',
199-
\ [ 'c', 'cpp', 'objc', 'java', 'javascript',
200-
\ 'typescript', 'proto', 'arduino', 'cuda' ] )
199+
\ [ 'c', 'cpp', 'objc', 'java', 'javascript', 'typescript',
200+
\ 'proto', 'arduino', 'cuda', 'vala' ] )
201201
" }}}
202202

203203
" format codes {{{

0 commit comments

Comments
 (0)