Skip to content

Commit da5c377

Browse files
committed
Merge pull request burnettk#9 from codebeige/do_not_warn_on_empty_select
Do not warn on empty <select>
2 parents 036ca81 + 51fa174 commit da5c377

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

plugin/angular.vim

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,18 @@ if !exists('g:syntastic_html_tidy_ignore_errors')
1616
let g:syntastic_html_tidy_ignore_errors = []
1717
endif
1818

19-
let g:syntastic_html_tidy_ignore_errors = g:syntastic_html_tidy_ignore_errors + [
19+
let g:syntastic_html_tidy_ignore_errors += [
2020
\ ' proprietary attribute "ng-',
2121
\ ' proprietary attribute "ui-',
22-
\ '<div> proprietary attribute "src'
22+
\ '<div> proprietary attribute "src',
23+
\ 'trimming empty <select>'
2324
\ ]
2425

2526
if !exists('g:syntastic_html_tidy_blocklevel_tags')
2627
let g:syntastic_html_tidy_blocklevel_tags = []
2728
endif
2829

29-
let g:syntastic_html_tidy_blocklevel_tags = g:syntastic_html_tidy_blocklevel_tags + [
30+
let g:syntastic_html_tidy_blocklevel_tags += [
3031
\ 'ng-include',
3132
\ 'ng-form'
3233
\ ]
@@ -35,7 +36,7 @@ if !exists('g:angular_find_ignore')
3536
let g:angular_find_ignore = []
3637
endif
3738

38-
let g:angular_find_ignore = g:angular_find_ignore + [
39+
let g:angular_find_ignore += [
3940
\ 'coverage/',
4041
\ 'build/',
4142
\ 'dist/',

spec/runspec_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
value_of_variable.should include(
88
' proprietary attribute "ng-',
99
' proprietary attribute "ui-',
10-
'<div> proprietary attribute "src'
10+
'<div> proprietary attribute "src',
11+
'trimming empty <select>'
1112
)
1213
end
1314

0 commit comments

Comments
 (0)