mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-02 01:23:30 +08:00
escape dot in maker regex (#357)
* escape dot in maker regex * Create test_typecheck_handler * Rename test_typecheck_handler to test_typecheck_handler.vader
This commit is contained in:
@@ -7,7 +7,7 @@ function! ale_linters#typescript#typecheck#Handle(buffer, lines) abort
|
||||
" hello.ts[7, 41]: Property 'a' does not exist on type 'A'
|
||||
" hello.ts[16, 7]: Type 'A' is not assignable to type 'B'
|
||||
"
|
||||
let l:pattern = '.\+.ts\[\(\d\+\), \(\d\+\)\]: \(.\+\)'
|
||||
let l:pattern = '.\+\.ts\[\(\d\+\), \(\d\+\)\]: \(.\+\)'
|
||||
let l:output = []
|
||||
|
||||
for l:line in a:lines
|
||||
|
||||
Reference in New Issue
Block a user