mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-10 12:33:51 -05:00
Show full path in b:sleuth_culprit
This commit is contained in:
@@ -1775,7 +1775,7 @@ endif
|
|||||||
" end filetypes
|
" end filetypes
|
||||||
|
|
||||||
au BufNewFile,BufRead,StdinReadPost *
|
au BufNewFile,BufRead,StdinReadPost *
|
||||||
\ if !did_filetype() && expand("<amatch>") !~ g:ft_ignore_pat
|
\ if !did_filetype() && expand("<afile>") !~ g:ft_ignore_pat
|
||||||
\ | call polyglot#Heuristics() | endif
|
\ | call polyglot#Heuristics() | endif
|
||||||
|
|
||||||
|
|
||||||
@@ -1895,7 +1895,7 @@ if !has_key(s:disabled_packages, 'autoindent')
|
|||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let b:sleuth_culprit = expand("<amatch>")
|
let b:sleuth_culprit = expand("<afile>:p")
|
||||||
if s:guess(getline(1, 32))
|
if s:guess(getline(1, 32))
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user