mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-06 02:35:19 +08:00
fix indent with vim on termux
web interface would have worked, if I had deleted the tabs, first This vim is adding tabs instead of matching the previous line's indentation. Looking into fixing that now...
This commit is contained in:
@@ -229,12 +229,12 @@ final class TermuxInstaller {
|
|||||||
File storageDir = new File(TermuxService.HOME_PATH, "storage");
|
File storageDir = new File(TermuxService.HOME_PATH, "storage");
|
||||||
|
|
||||||
if (storageDir.exists()) {
|
if (storageDir.exists()) {
|
||||||
try {
|
try {
|
||||||
deleteFolder(storageDir);
|
deleteFolder(storageDir);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
Log.e(LOG_TAG, "Could not delete old $HOME/storage, " + e.getMessage());
|
Log.e(LOG_TAG, "Could not delete old $HOME/storage, " + e.getMessage());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!storageDir.mkdirs()) {
|
if (!storageDir.mkdirs()) {
|
||||||
|
Reference in New Issue
Block a user