summaryrefslogtreecommitdiff
path: root/autoload/ale/handlers/flawfinder.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/ale/handlers/flawfinder.vim')
-rw-r--r--autoload/ale/handlers/flawfinder.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/autoload/ale/handlers/flawfinder.vim b/autoload/ale/handlers/flawfinder.vim
index a650d6dd..b7d2bec3 100644
--- a/autoload/ale/handlers/flawfinder.vim
+++ b/autoload/ale/handlers/flawfinder.vim
@@ -1,3 +1,4 @@
+scriptencoding utf-8
" Author: Christian Gibbons <cgibbons@gmu.edu>
" Description: This file defines a handler function that should work for the
" flawfinder format with the -CDQS flags.
@@ -30,7 +31,7 @@ function! ale#handlers#flawfinder#HandleFlawfinderFormat(buffer, lines) abort
\ 'lnum': str2nr(l:match[2]),
\ 'col': str2nr(l:match[3]),
\ 'type': (l:severity < ale#Var(a:buffer, 'c_flawfinder_error_severity'))
- \ ? 'W' : 'E',
+ \ ? 'W' : 'E',
\ 'text': s:RemoveUnicodeQuotes(join(split(l:match[4])[1:]) . ': ' . l:match[5]),
\}