summaryrefslogtreecommitdiff
path: root/ale_linters/terraform/tflint.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/terraform/tflint.vim')
-rw-r--r--ale_linters/terraform/tflint.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ale_linters/terraform/tflint.vim b/ale_linters/terraform/tflint.vim
index 894be22d..93966ff3 100644
--- a/ale_linters/terraform/tflint.vim
+++ b/ale_linters/terraform/tflint.vim
@@ -23,6 +23,7 @@ function! ale_linters#terraform#tflint#Handle(buffer, lines) abort
\ 'lnum': l:error.line,
\ 'text': l:error.message,
\ 'type': l:type,
+ \ 'code': l:error.detector,
\})
endfor