patch 9.0.0088: pattern for detecting bitbake files is not sufficient
Problem: Pattern for detecting bitbake files is not sufficient. Solution: Adjust the pattern. (Gregory Anders, closes #10743)
This commit is contained in:
committed by
Bram Moolenaar
parent
3f0266739d
commit
30e212dac1
2
runtime/autoload/dist/ft.vim
vendored
2
runtime/autoload/dist/ft.vim
vendored
@ -519,7 +519,7 @@ export def FTinc()
|
||||
# headers so assume POV-Ray
|
||||
elseif lines =~ '^\s*\%({\|(\*\)' || lines =~? ft_pascal_keywords
|
||||
setf pascal
|
||||
elseif lines =~# '\<\%(require\|inherit\)\>' || lines =~# '\w\+ = '
|
||||
elseif lines =~# '\<\%(require\|inherit\)\>' || lines =~# '[A-Z][A-Za-z0-9_:${}]*\s\+\%(??\|[?:+]\)\?= '
|
||||
setf bitbake
|
||||
else
|
||||
FTasmsyntax()
|
||||
|
||||
Reference in New Issue
Block a user