aliquote.org

October 14, 2026

I found myself spending most of my time in a Wolfram notebook these days. For whatever reason, the builtin LSP has stopped working with BBEdit (maybe because I moved my user files to iCloud, or for whatever reasons I don’t really care at the present time) and code formatting (via CodeFormatter) is now a mess. I mean, it just hurts my eyes to find comma on a single line, like this: (indentation preserved)

-%<---
        Epilog ->
          {
            {Red, Dashed, Line[{{1, threshold}, {Max[1, Length[kappa]
              ], threshold}}]}
            ,
            {Red, Dashed, Line[{{1, -threshold}, {Max[1, Length[kappa
              ]], -threshold}}]}
            ,
            Table[
              {
                Purple
                ,
                Thick
                ,
                Line[
                  {{pos, Min[kappa, 0]}, {pos, Max[kappa, 0]}} /.
                    {
--->%-

I’ve tried various combination of Airiness and other options (but see this GH issue) but never got something decent although it was working fine with v14. I’ve disabled auto-formatting in Neovim. Copying/pasting a whole notebook to a plain text file provides decent formatting.