mirror of
https://github.com/textmate/textmate.git
synced 2026-01-22 21:27:56 -05:00
Remove SCM variables from document_t
This commit is contained in:
@@ -495,12 +495,6 @@ namespace document
|
||||
map["TM_FILENAME"] = path::name(path());
|
||||
map["TM_DIRECTORY"] = path::parent(path());
|
||||
map["PWD"] = path::parent(path());
|
||||
|
||||
if(scm::info_ptr info = scm::info(path::parent(path())))
|
||||
{
|
||||
for(auto pair : info->variables())
|
||||
map.insert(pair);
|
||||
}
|
||||
}
|
||||
|
||||
return sourceFileSystem ? variables_for_path(path(), scope(), map) : map;
|
||||
|
||||
Reference in New Issue
Block a user