sontungexpt / sttusline

A very lightweight, super fast and lazyloading statusline plugin for Neovim written in lua.
MIT License
107 stars 7 forks source link

Fix: rename the require component to try get the sttusline component #12

Closed yebt closed 7 months ago

yebt commented 7 months ago

Hi, UwU I was having an error when creating a component for the status line with the SttuslineNewComponent command, it was reported that: module 'sttusline.set_component' not found: ... Then the problem was fixed when in the created component was renamed the required class from require("sttusline.set_component").new() to require("sttusline.component").new()

sontungexpt commented 7 months ago

Thank you for the pull request, but I suggest utilizing the table_version branch for additional features. The main branch main branch has slow update speed.