Commit graph

3 commits

Author SHA1 Message Date
6022083000 chore(vim): format csharp files with the lsp
This will be using `dotnet format` under the hood and take any settings from
the editorconfig. The advantage of this is it will only do the file, with
`dotnet format` you need todo the hole solution.
2025-01-21 08:24:34 +00:00
22eda7e6ed feat(vim): use the lsp to format f# files
For formatting f# there really is only one tool, fantomas. The CLI for fantomas
has no input and will only do files. Ionide has built in support for fantomas,
we need some extra config to make this work because right now we are only using
Neoformat for formatting.

This updates the formatting function to format with the lsp only for f# files.
Anything else it will fall back to usign Neoformat. I am hoping that there will
not be many cases of this and we can continue to use Neoformat.
2024-09-24 19:53:46 +01:00
0506dd4842 feat(vim): split out and refactor format on save so it can be toggled
This is off by default and will need to be turned on when developing on
code that will need to be formatted on saving.
2022-11-15 20:05:39 +00:00