diff options
author | Gregory Anders <greg@gpanders.com> | 2022-07-26 21:42:03 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-07-26 21:42:03 +0100 |
commit | 30e212dac1d29536883c36918a465a38d81d6413 (patch) | |
tree | a51daa35c9c0c644d6bb939ca9655b5dfa7fd51c /runtime | |
parent | 3f0266739db7d27cb7f03f9d131114fb0af3df71 (diff) |
patch 9.0.0088: pattern for detecting bitbake files is not sufficientv9.0.0088
Problem: Pattern for detecting bitbake files is not sufficient.
Solution: Adjust the pattern. (Gregory Anders, closes #10743)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/autoload/dist/ft.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/autoload/dist/ft.vim b/runtime/autoload/dist/ft.vim index 708a42a050..e48575c807 100644 --- a/runtime/autoload/dist/ft.vim +++ b/runtime/autoload/dist/ft.vim @@ -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() |