---
title: "Formatting on save · jose-elias-alvarez/null-ls.nvim Wiki"
description: "!https://github.com/jose-elias-alvarez/null-ls.nvim/wiki/Formatting-on-save#code"
date: 2023-08-06
published: true
tags:
  - neovim
  - thought
  - vim
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://github.com/jose-elias-alvarez/null-ls.nvim/wiki/Formatting-on-save#code" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-content">
      <div class="embed-card-title">External Link</div>
      <div class="embed-card-meta">github.com</div>
    </div>
  </a>
</div>


neovim stopped formatting on save for me awhile ago and I have just been dealing with it.  looks like there may have been an api change, idk.


I had to make this update.4

``` diff
- vim.lsp.buf.format()
+ vim.lsp.buf.format({async=false})
``` 
