NvChad / ui

Lightweight & high performance UI plugin for nvchad
GNU General Public License v3.0
166 stars 124 forks source link

nvchad.term Documentation #317

Open t1gu1 opened 2 months ago

t1gu1 commented 2 months ago

Is your feature request related to a problem? Please describe.

I saw that change today https://github.com/NvChad/NvChad/issues/2901 I was so confuse about why my floating terminal was so small since last week.

First I was searching for the Documentation but It was hard to found it, then I found the issue.

Describe the solution you'd like It could be nice to have this in the official Doc. I know there is that: https://nvchad.com/docs/config/nvchad_ui/#term

But could be nice to add an example like that:

In the chadrc.lua it is possible to edit the default behavoir of the terminal

local M = {}

-- ...

M.term = {
    -- hl = "Normal:term,WinSeparator:WinSeparator",
    -- sizes = { sp = 0.3, vsp = 0.2 },
    float = {
        relative = "editor",
        row = 0.1,
        col = 0.045,
        width = 0.9,
        height = 0.8,
        border = "single",
    },
}
siduck commented 2 months ago

hi @t1gu1 soon all nvchad ui/base46 docs will just be under h nvchad. will finisht by weekend and let you know!