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.
This commit is contained in:
Jon Parise committed 2018-09-16 08:21:18 -07:00
1 parent f1f2a22228
commit b7fcec4d17
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -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