mirror of
https://github.com/neovim/neovim.git
synced 2026-01-04 02:17:09 +10:00
vim-patch:9.1.2007: filetype: bpftrace hashbang lines are not recognized
Problem: bpftrace files are not recognized from the hashbang line.
Solution: Add a hashbang check (Stanislaw Gruszka)
closes: vim/vim#18992
f2814754c0
Co-authored-by: Stanislaw Gruszka <stf_xl@wp.pl>
This commit is contained in:
@@ -2040,6 +2040,7 @@ local patterns_hashbang = {
|
||||
['^janet\\>'] = { 'janet', { vim_regex = true } },
|
||||
['^dart\\>'] = { 'dart', { vim_regex = true } },
|
||||
['^execlineb\\>'] = { 'execline', { vim_regex = true } },
|
||||
['^bpftrace\\>'] = { 'bpftrace', { vim_regex = true } },
|
||||
['^vim\\>'] = { 'vim', { vim_regex = true } },
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user