summaryrefslogtreecommitdiffstats
path: root/heuristics.yaml
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-09-06 20:51:38 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-09-06 20:51:38 +0200
commitcd2fded0e0abb6b31fceaca128699eca0f300c63 (patch)
treee796660cd3f9e056566b72e3a104f56f11b51504 /heuristics.yaml
parent255345bf9525c94479a7ff9b787d2f9848cb7a18 (diff)
downloadvim-polyglot-cd2fded0e0abb6b31fceaca128699eca0f300c63.tar.gz
vim-polyglot-cd2fded0e0abb6b31fceaca128699eca0f300c63.zip
Add support for Visual Basic and Basic
Diffstat (limited to 'heuristics.yaml')
-rw-r--r--heuristics.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/heuristics.yaml b/heuristics.yaml
index 33c1c690..8c0c1663 100644
--- a/heuristics.yaml
+++ b/heuristics.yaml
@@ -93,3 +93,11 @@ rules:
pattern: '^>\s*--.*[Ii]dris ?1'
filetype: lidris
- filetype: lidris2
+---
+extensions: [bas]
+rules:
+- lines: 5
+ pattern: 'VB_Name|Begin VB\.(Form|MDIForm|UserControl)'
+ filetype: vb
+ ignore_case: true
+- filetype: basic