GithubHelp home page GithubHelp logo

Comments (8)

rohit-px2 avatar rohit-px2 commented on August 23, 2024

nvui doesn't read the ginit.vim. Instead nvui defines the variable g:nvui, so you can place nvui configuration commands like this.

init.vim

if exists('g:nvui')
  " configure nvui here (ex.)
  NvuiCmdFontFamily Jetbrains Mono
  set guifont=Consolas
endif

init.lua

if vim.fn.exists('g:nvui') ~= 0 then
  -- Configure nvui here
end

Just as an example, here's a snippet of what my nvui config looks like:

if exists('g:nvui')
  set linespace=1
  set guifont=Consolas\ NF:h11
  NvuiPopupMenuDefaultIconFg white
  NvuiCmdBg #1e2125
  NvuiCmdFg #abb2bf
  NvuiCmdBigFontScaleFactor 1.0
  NvuiCmdPadding 10
  NvuiCmdCenterXPos 0.5
  NvuiCmdTopPos 0.0
  NvuiCmdFontFamily Fantasque Sans Mono
  NvuiCmdFontSize 25.0
  NvuiCmdBorderWidth 5
  NvuiPopupMenuIconFg variable #56b6c2
  NvuiPopupMenuIconFg function #c678dd
  NvuiPopupMenuIconFg method #c678dd
  NvuiPopupMenuIconFg field #d19a66
  NvuiPopupMenuIconFg property #d19a66
  NvuiPopupMenuIconFg module white
  NvuiPopupMenuIconFg struct #e5c07b
  NvuiCaretExtendTop 15
  NvuiCaretExtendBottom 8
  NvuiTitlebarFontSize 12
  NvuiTitlebarFontFamily Arial
  NvuiCursorAnimationDuration 0.1
  set guicursor=n-v-c-sm:block-Cursor,i-ci-ve:ver25-Cursor-blinkwait300-blinkon500-blinkoff300,r-cr-o:hor20
endif

I would have to look into the command line showing problem. Could you disable the frameless window (:NvuiFrameless v:false) and see if that solves anything?

from nvui.

rabirabirara avatar rabirabirara commented on August 23, 2024

Thanks for the response. Unfortunately, it doesn't solve the command line from hiding underneath the screen. I did however stumble upon some new information - it's not a problem solely with the command line, but rather the entire bottom few lines of the GUI window are simply not rendered. If I open a buffer, I can move the cursor down, and it will go out of the screen as though it's still in the window - but the program window itself does not render it, and changing its size does not help.

A little demonstration. (Again, apologies for the messiness.)

from nvui.

hosxy avatar hosxy commented on August 23, 2024

I also have this problem on Windows 10 (version 2004)

from nvui.

rohit-px2 avatar rohit-px2 commented on August 23, 2024

So for those bottom lines there is no text?
At the bottom of the window is there any background color or is it just black?

from nvui.

rabirabirara avatar rabirabirara commented on August 23, 2024

Specifically, those bottom lines seem to be cut off by the window, as though the window was pulled upwards without resizing its contents. If it were to display correctly, it would seem as though we could just pull the window down to reveal the lines; that's what it's like. The bottom lines clearly exist in the instance of Vim, the window is just never displaying them because it looks like it cut itself short.

(The black is from my OBS recording. Sorry about that.)

from nvui.

rohit-px2 avatar rohit-px2 commented on August 23, 2024

Could you check if #65 fixes your issues? If you had a non standard (i.e. not 100%) DPI setting the problem may have been caused by that.

from nvui.

hosxy avatar hosxy commented on August 23, 2024

Could you check if #65 fixes your issues? If you had a non standard (i.e. not 100%) DPI setting the problem may have been caused by that.

yeah,my DPI is 125% and this solve my problem. Now I can see command line.

from nvui.

rabirabirara avatar rabirabirara commented on August 23, 2024

Yup, problem solved. Good work!

image

from nvui.

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.