Skip to content

Commit c1df194

Browse files
committed
fix(vimscript): fix buffer filename matching pattern
1 parent 6670a75 commit c1df194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/tsdetect.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function! tsdetect#init() abort
55
endfunction
66

77
function! s:detect_buffer(amatch) abort
8-
if a:amatch =~? '^deno:/\|\.tsx\?\|\.js$'
8+
if a:amatch =~? '^deno:/\|\.tsx\?$\|\.js$'
99
let b:tsdetect_is_node = tsdetect#util#is_node()
1010
doautocmd User tsdetect#detect
1111
else

0 commit comments

Comments
 (0)