File tree 1 file changed +9
-4
lines changed
1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -605,10 +605,15 @@ def server_version(cls) -> str:
605
605
606
606
@classmethod
607
607
def needs_update_or_installation (cls ) -> bool :
608
- if not shutil .which (cls .julia_exe ()):
609
- msg = ('The executable "{}" could not be found. Set up the path to the Julia executable by running the '
610
- 'command\n \n \t Preferences: LSP-julia Settings\n \n from the command palette.' ).format (cls .julia_exe ())
611
- raise RuntimeError (msg )
608
+ # The check for presence of the julia executable is disabled for now, because
609
+ # [`shutil.which`](https://docs.python.org/release/3.3.6/library/shutil.html#shutil.which) doesn't work with
610
+ # symlinks on Python 3.3 (on Windows at least), and if Julia was installed via juliaup it will create a symlink
611
+ # for it - see https://github.com/sublimelsp/LSP-julia/issues/24
612
+ #
613
+ # if not shutil.which(cls.julia_exe()):
614
+ # msg = ('The executable "{}" could not be found. Set up the path to the Julia executable by running the '
615
+ # 'command\n\n\tPreferences: LSP-julia Settings\n\nfrom the command palette.').format(cls.julia_exe())
616
+ # raise RuntimeError(msg)
612
617
try :
613
618
with open (cls .version_file (), "r" ) as fp :
614
619
return cls .server_version () != fp .read ().strip ()
You can’t perform that action at this time.
0 commit comments