Skip to content
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

Popup not appearing, F8 executes a space command #6

Open
wasspds opened this issue Mar 11, 2023 · 7 comments
Open

Popup not appearing, F8 executes a space command #6

wasspds opened this issue Mar 11, 2023 · 7 comments

Comments

@wasspds
Copy link

wasspds commented Mar 11, 2023

As in the title:

  • I have checked that both awk and python are available on terminal,
  • I have installed the nui plugin as instructed.
  • I have syntax on enabled in my config
    Help please, as I have high hopes for this to work :)
@smzm
Copy link
Owner

smzm commented Mar 12, 2023

  • Put syntax on in top of your neovim configuration file. (before hydrovim installation)

@wasspds
Copy link
Author

wasspds commented Mar 12, 2023

Sorry, that was done as well - I missed to include this part.

@smzm smzm closed this as completed Mar 12, 2023
@wasspds
Copy link
Author

wasspds commented Mar 12, 2023

@smzm This is not closed :) - what I meant was I had this option enabled in my config, and it still doesn't work - I missed to include that in my original description - I updated it

@smzm
Copy link
Owner

smzm commented Mar 12, 2023

Ok. :)
This is happening because of lacking syntax on, and sincerely I don't know why!
In init.vim of your nvim configuration directory, you should put syntax on on top of your file.
Also make sure your file has .py extension name to recognize it as python file.

@smzm smzm reopened this Mar 12, 2023
@wasspds
Copy link
Author

wasspds commented Mar 12, 2023

:)
Ok - so:

  • I have my neovim config in lua \
local opt = vim.opt
opt.syntax = "ON"

^^ This is the first two lines of my settings file :)
* echo(syntax_on) returns a 1 after opening nvim

  • This is the output of :set filetype? command run after opening any python file - so that seems correct 💪 (unless it isn't ;) )

image

  • I tried to play around with nui.nvim first to see if I had any popups come up at all - they seem to work fine 👍

  • I also tried to manually call the HydrovimRun() function:
    :call HydrovimRun('normal') - there is no error on the output, it just produces as space and nothing else happens

  • I even tried to manually set syntax on with the .py file open and see if that makes any difference - it didn't 👎 😄

  • I also tried to reinstall the packages (both hydrovim and nui) just in case I had the order of operations wrong (actually only hydrovim, as I have placed the nui plugin as a dependency)

I am trying to figure out what else I could try and test 🤷

@martasd
Copy link

martasd commented Dec 14, 2023

@wasspds Did you ever figure it out? I am seeing exactly the same issue.

@smzm
Copy link
Owner

smzm commented Dec 15, 2023

@wasspds Did you ever figure it out? I am seeing exactly the same issue.

This problem exists on Neovim configured with Lua. If you want to test plugin, you can use Neovim configured with .vimrc or use vim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants