You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to enable g:tsuquyomi_javascript_support only when the current directory or any parent has a tsconfig.json file? Right now I am thinking of adapting the routine found here, but would prefer if this was built into the plugin so it could just happen automatically.
Here's my attempt at making it work - I did not try this nor am I great at vimscript.
let local_path ="/"let path_parts =split(getcwd(), "/")
for path_part in path_parts
let local_path = local_path . path_part . "/"iffilereadable(local_path . "tsconfig.json")
letg:tsuquyomi_javascript_support=1endifendforunlet local_path path_parts
The text was updated successfully, but these errors were encountered:
You have a wonderful plugin.
Is there a way to enable
g:tsuquyomi_javascript_support
only when the current directory or any parent has atsconfig.json
file? Right now I am thinking of adapting the routine found here, but would prefer if this was built into the plugin so it could just happen automatically.Here's my attempt at making it work - I did not try this nor am I great at vimscript.
The text was updated successfully, but these errors were encountered: