diff options
author | Jon Parise <jon@indelible.org> | 2018-09-14 14:56:15 -0700 |
---|---|---|
committer | Jon Parise <jon@indelible.org> | 2018-09-16 08:21:18 -0700 |
commit | b7fcec4d177f99f56f543830c7b51f18c3b3a4a0 (patch) | |
tree | e4a8cd98cdffd7ea3e11b99a7e9dd81464dc1025 /ale_linters/thrift | |
parent | f1f2a222281c9e489c3ca6a4f72329c08d4646a6 (diff) | |
download | ale-b7fcec4d177f99f56f543830c7b51f18c3b3a4a0.zip |
thrift: default thrift_thrift_includes to ['.']
In a lint context, it's useful to assume that included files sit next to
the current file by default. Users can still further customize this
configuration variable to add more include paths.
Diffstat (limited to 'ale_linters/thrift')
-rw-r--r-- | ale_linters/thrift/thrift.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/thrift/thrift.vim b/ale_linters/thrift/thrift.vim index 396a2355..36a8656e 100644 --- a/ale_linters/thrift/thrift.vim +++ b/ale_linters/thrift/thrift.vim @@ -2,7 +2,7 @@ call ale#Set('thrift_thrift_executable', 'thrift') call ale#Set('thrift_thrift_generators', ['cpp']) -call ale#Set('thrift_thrift_includes', []) +call ale#Set('thrift_thrift_includes', ['.']) call ale#Set('thrift_thrift_options', '-strict') function! ale_linters#thrift#thrift#GetCommand(buffer) abort |