Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Aug 10, 2019

Fixes #2620

Changed behaviour of s:GetLinterVariables() to exclude disabled linters instead of include enabled linters. This way any linter global options defined (eg: g:c_build_dir_names ) would appear for that filetype.

Added unit tests totest/test_ale_info.vader.

Also fixed issue running this file standalone (run-tests test/test_ale_info.vader) which was broken due to conflicting default value vs undefined/v:null value.

@w0rp w0rp changed the title 2620 aleinfo global options aleinfo global options Aug 12, 2019
@w0rp
Copy link
Member

w0rp commented Aug 12, 2019

AppVeyor seems to be broken. I'll try to fix that later. I'll get around to other pull requests later.

Cheers! 🍻

@w0rp w0rp merged commit 28c93ab into dense-analysis:master Aug 12, 2019
@ghost ghost deleted the 2620_aleinfo_global_options branch August 15, 2019 10:42
suoto pushed a commit to suoto/ale that referenced this pull request Sep 11, 2019
* added omitted global variables which was breaking this test when run standalone
* invert logic for s:GetLinterVariables excluding disabled linters, so that linter global options can appear in output
* additional tests for s:GetLinterVariables for linter global options
timlag1305 pushed a commit to timlag1305/ale that referenced this pull request Nov 5, 2019
* added omitted global variables which was breaking this test when run standalone
* invert logic for s:GetLinterVariables excluding disabled linters, so that linter global options can appear in output
* additional tests for s:GetLinterVariables for linter global options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some ale_c_* settings are not listed in ALEInfo

2 participants