mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-11 16:04:17 +00:00
* Macros are always commands
This commit is contained in:
@@ -232,7 +232,7 @@ class TmSnippet
|
||||
if override
|
||||
return override
|
||||
else
|
||||
return "# type: command\n" if @file =~ /(Commands\/)/
|
||||
return "# type: command\n" if @file =~ /(Commands\/|Macros\/)/
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user