We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed2494f commit d94c1a1Copy full SHA for d94c1a1
1 file changed
org.eclipse.jdt.ls.product/scripts/jdtls.py
@@ -67,6 +67,9 @@ def get_shared_config_path(jdtls_base_path):
67
68
if system in ['Linux', 'FreeBSD']:
69
config_dir = 'config_linux'
70
+ # or use system == 'Android'
71
+ elif 'TERMUX_VERSION' in os.environ:
72
+ config_dir = 'config_linux'
73
elif system == 'Darwin':
74
config_dir = 'config_mac'
75
elif system == 'Windows':
@@ -87,6 +90,8 @@ def main(args):
87
90
cachedir = Path(os.environ['HOME']) / 'Library' / 'Caches'
88
91
elif system == 'Linux' and 'HOME' in os.environ:
89
92
cachedir = Path(os.environ['HOME']) / '.cache'
93
+ elif 'TERMUX_VERSION' in os.environ and 'HOME' in os.environ:
94
+ cachedir = Path(os.environ['HOME']) / '.cache'
95
else:
96
cachedir = Path(tempfile.gettempdir())
97
0 commit comments