You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where do I actually put this function to extend the linter??
To your ~/.config/micro/init.lua
Also, how does importing work in lua? I thought it uses "require"...
For importing those packages that are provided to lua by micro, micro provides its own import() function. It is described here.
In your case, if you just need to add this linter.makeLinter(), I think you don't need to import anything: linter is already imported, since the linter plugin is already loaded.
Description of the problem or steps to reproduce
Where do I actually put this function to extend the linter??
Also, how does importing work in lua? I thought it uses "require"...
Specifications
micro v2.0.11
Commit hash:
OS: Debian 12
Terminal: kitty
The text was updated successfully, but these errors were encountered: