about summary refs log tree commit diff stats
path: root/modules/home.legacy/conf/nvim/plgs/nvim-lint
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-02 18:51:14 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-02 18:53:06 +0100
commit5d95ae4d2c4a47589412fafd1572eaaaff15622d (patch)
tree6e95a463c0830602933aee3dee61370150c176b0 /modules/home.legacy/conf/nvim/plgs/nvim-lint
parentfeat(flake/treefmt.nix): Specify lua formatter settings (diff)
downloadnixos-config-5d95ae4d2c4a47589412fafd1572eaaaff15622d.tar.gz
nixos-config-5d95ae4d2c4a47589412fafd1572eaaaff15622d.zip
style(modules/legacy/conf/nvim): Format
Diffstat (limited to 'modules/home.legacy/conf/nvim/plgs/nvim-lint')
-rw-r--r--modules/home.legacy/conf/nvim/plgs/nvim-lint/lua/nvim-lint.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/home.legacy/conf/nvim/plgs/nvim-lint/lua/nvim-lint.lua b/modules/home.legacy/conf/nvim/plgs/nvim-lint/lua/nvim-lint.lua
index 4ed49f7b..770c3bb5 100644
--- a/modules/home.legacy/conf/nvim/plgs/nvim-lint/lua/nvim-lint.lua
+++ b/modules/home.legacy/conf/nvim/plgs/nvim-lint/lua/nvim-lint.lua
@@ -14,7 +14,5 @@ require("lint").linters_by_ft = {
 }
 
 vim.api.nvim_create_autocmd({ "BufEnter", "BufWritePost" }, {
-  callback = function()
-    require("lint").try_lint()
-  end,
+  callback = function() require("lint").try_lint() end,
 })