headwind.nvim icon indicating copy to clipboard operation
headwind.nvim copied to clipboard

Error being constantly thrown when trying to format

Open hood opened this issue 3 years ago • 2 comments
trafficstars

Getting E5108: Error executing lua /usr/local/share/nvim/runtime/lua/vim/lsp/util.lua:366: offset_encoding: expected string, got nil whenever I try to format a buffer.

Screenshot here

hood avatar Mar 28 '22 09:03 hood

UPDATE: This is due to a missing third parameter, which was (I just got a PR merged to fix that) erroneously marked as optional.

hood avatar Mar 30 '22 19:03 hood

@hood could you please elaborate? I'm having the same issue

zachschultz avatar Jun 10 '22 14:06 zachschultz