Search found 2 matches

by yabobay
28.09.2023 17:15
Forum: Plugins
Topic: Lua Formatter ignores tab_size
Replies: 4
Views: 8830

Re: Lua Formatter ignores tab_size

If i edit the file, will it get overwritten when an update comes out for the plugin? (That's what i want to happen)
by yabobay
27.09.2023 09:27
Forum: Plugins
Topic: Lua Formatter ignores tab_size
Replies: 4
Views: 8830

Lua Formatter ignores tab_size

I had `tab_size` and `indent_size` set to 2 in my user.json, but lua_fmt which i just installed indents things with 4 spaces by default. So i checked if lua_fmt is configurable, it's not. So i checked in the source code, and found this: def __str__(self): r = '' for node in self._nodes: r += str(nod...