Skip to content

Commit

Permalink
doc: link to trim_newlines formatter (#590)
Browse files Browse the repository at this point in the history
* fix(readme): link to `trim_newlines` formatter

* Revert "fix(readme): link to `trim_newlines` formatter"

This reverts commit 2317bdb.

* fix(trim_newlines): meta url
  • Loading branch information
nelson137 authored Dec 10, 2024
1 parent 0e915ff commit 09a01fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/conform/formatters/trim_newlines.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---@type conform.FileLuaFormatterConfig
return {
meta = {
url = "https://github.com/stevearc/conform.nvim/blob/master/lua/conform/formatters/trim_whitespace.lua",
url = "https://github.com/stevearc/conform.nvim/blob/master/lua/conform/formatters/trim_newlines.lua",
description = "Trim empty lines at the end of the file.",
},
format = function(self, ctx, lines, callback)
Expand Down

0 comments on commit 09a01fa

Please sign in to comment.