File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -187,15 +187,14 @@ safe to drop into existing layouts.
187187<summary ><b >NvChad (built-in statusline)</b ></summary >
188188
189189NvChad exposes its UI configuration through the return table of
190- ` lua/chadrc.lua ` . The snippet below ** extends ** the default status-line instead
191- of replacing it .
190+ ` lua/chadrc.lua ` . The snippet below shows a minimal way to ** add one custom
191+ module ** (named ` remote ` ) without touching the rest of the default layout .
192192
193193``` lua
194- -- ~/.config/nvim/lua/chadrc.lua (or wherever your NvChad chadrc lives)
194+ -- ~/.config/nvim/lua/chadrc.lua
195195
196196local M = {}
197197
198- -- 1️⃣ Fetch the default lay-out that ships with NvChad
199198-- 1️⃣ Create a callable module for NvChad’s statusline
200199local remote_module = require (" remote-sshfs.statusline" ).nvchad_module {
201200 highlight = " St_gitIcons" , -- highlight group (optional)
You can’t perform that action at this time.
0 commit comments