GithubHelp home page GithubHelp logo

Comments (6)

shortcuts avatar shortcuts commented on June 29, 2024

Hey, thanks for using the plugin and reporting the issue! I believe there indeed some support to be added on the NNP side to properly boot with Neovide, I'll try to reproduce ASAP!

from no-neck-pain.nvim.

vinoff avatar vinoff commented on June 29, 2024

I think you misunderstood @shortcuts. The problem is with Nvim in terminal, not with Neovide. It works fine with Neovide.

from no-neck-pain.nvim.

shortcuts avatar shortcuts commented on June 29, 2024

Hey, sorry for coming back late to this, I just remembered the issue!

Would you mind sharing a screenshot of you setup? I assume there is not enough space to have the buffers opened, however the second time it shouldn't open then 🤔

from no-neck-pain.nvim.

vinoff avatar vinoff commented on June 29, 2024

Hey @shortcuts.

There is space. The setup is exactly the same as Neovide. They run from exactly the same config file. The only difference is the font used. The setup is just 1 window, 2 if NoNeckPain is opened. I shared a screenshot of my setup here: #277. For neovim terminal it is the same.

So, to sum it up:

Neovide:

  • It opens by default;

Neovim terminal:

  • Doesn't open by default;
  • Have to call NoNeckPain TWICE to have it opened.

from no-neck-pain.nvim.

vinoff avatar vinoff commented on June 29, 2024

It seems to have to do with my terminal, somehow.

Neovim terminal in Wezterm does NOT open NNP by default.
Neovim terminal in xfce terminal opens NNP by default.

EDIT:

Some more testing.

Font size (works or not):

  • 10 (YES)
  • 12 (NO)
  • 14 (NO)
  • 15 (YES)
  • 16 (YES)

What do you think is happening?

from no-neck-pain.nvim.

shortcuts avatar shortcuts commented on June 29, 2024

It seems to have to do with my terminal, somehow.

Neovim terminal in Wezterm does NOT open NNP by default. Neovim terminal in xfce terminal opens NNP by default.

EDIT:

Some more testing.

Font size (works or not):

  • 10 (YES)
  • 12 (NO)
  • 14 (NO)
  • 15 (YES)
  • 16 (YES)

What do you think is happening?

Thanks a lot for the explanations! I assume that it is due to how we compute column width. Maybe you can try to see if with font 12 the column width differ weirdly when calling :lua vim.print(vim.api.nvim_list_uis()[1].width). I assume something is weirdly rendered, I can try to provide a fallback in that case or a force mode 🤔

I'll try to install Wezterm and reproduce myself for easier debugging

from no-neck-pain.nvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.