Release 0.5.0
New Features:
-
indent with tabs - Added an
indent_modeconfiguration option and related support for indenting with tab characters.indent_modemay be configured to"auto"(the default),"spaces"or"tabs"."auto"` mode will detect the indent mode automatically when opening a file. -
automatic whitespace collapsing - Trailing whitespace is now automatically removed when inserting new lines with any of the
smart_insert_line*functions. Also, inserting a new line inside a range of whitespace will automatically collapse whitespace to the right of the cursor. -
auto hide tab bar - The tabs widget will now only be shown when more than one tab is open. This can be configured with an integer parameter on the tabs widget. For example:
tabs:2=> show the tab bar when there are two or more tabs (this is the default),tabs:0=> always show the tab bar. -
branch status auto refresh - The git branch status widget will now auto refresh on file save and focus in/out terminal events. This should keep it almost entirely up to date. You can still refresh it manually by mouse click.
-
improved handling of unsupported requests send by language-servers - This fixes
csharp-lsand possibly others.
Fixes:
- fix: crash in the tabs widget when buffers are destroyed during tab switch
- fix: reduce horizontal space waste in command palette
- fix: persist syntax_no_render in editor state when switching tabs
- fix: update buffer file type in set_type
- fix: refresh git branch status on project switch