Skip to content

Commit

Permalink
fix(conform-nvim): fix bug caused by wrongly typed opt (#1125)
Browse files Browse the repository at this point in the history
fix(conform-nvim): fixed `default_format_opts` lsp option
  • Loading branch information
Niverton authored Jul 24, 2024
1 parent 226704d commit 8e1a2a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/astrocommunity/editing-support/conform-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ return {
},
},
opts = {
default_format_opts = { lsp = "fallback" },
default_format_opts = { lsp_format = "fallback" },
format_on_save = function(bufnr)
if vim.g.autoformat == nil then vim.g.autoformat = true end
local autoformat = vim.b[bufnr].autoformat
Expand Down

0 comments on commit 8e1a2a4

Please sign in to comment.