-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command in filetype not taken into account anymore ? #126
Comments
Pleace, send screenshot |
@vimchun update the plugin, pleace |
@CRAG666 I just updated it, I still have the same behavior : |
@vimchun pleace check your config. My config work: |
@CRAG666 my config: return { |
@vimchun Please delete the plugin and reinstall |
pleace check: :lua vim.print(require("code_runner").get_filetype_command()) |
@CRAG666 I have the same behavior after deleting/reinstalling the plugin, and your command returns Sorry if the problem is from my environment, I did a lot of modifications in the past few hours... I will check and will come back to you. |
Not sure why you added the invalid label. I deleted all my plugins except code_runner and toggleterm, uninstall/reinstall both again. I set this :
On my python file, So I tried with the commit = 'c367431' (the one I was supposed to have when it worked well), and it works (with the message in Spanish #125) : |
(and still works well after loading all my plugins again, ... not sure about the invalid label...) |
More reports for change tag |
Hey, I am experiencing the same issue. My code keeps changing the values of filetype based on how I want to run it, however whatever I run the first time is what's kept. This is my code. This is on MacOS
|
@AvgBlank Please send video |
Few hours ago, I could run
:RunFile toggleterm
with no problem (I could run a python script with a custom command).The latest commit might have a regression : the filetype I set is not taken into account anymore
filetype = { python = "clear && python3 -u" }
. It seems the command run is the default one :filetype = { python = "python -u '$dir/$fileName'" }
.Note : I had to remove
hot_reload = true
because I had an error when savingThe text was updated successfully, but these errors were encountered: