onivim / libvim

libvim: The core Vim editing engine as a minimal C library
https://v2.onivim.io
MIT License
691 stars 34 forks source link

API - Buffer: Add method to get file formats #195

Closed bryphe closed 4 years ago

bryphe commented 4 years ago

Some initial investigation for: https://github.com/onivim/oni2/issues/1163

It seems there is something busted both the fileformat is being detected on Windows, and how it is being saved.