From 2e60b93c03871cfcda65cb09ce256e318ac4e1c7 Mon Sep 17 00:00:00 2001 From: aminnairi <18418459+aminnairi@users.noreply.github.com> Date: Thu, 4 Jan 2024 10:50:46 +0100 Subject: [PATCH] formatted the conform lua configuration file --- .../lua/settings/lazy/plugins/conform.lua | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/conform.lua b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/conform.lua index 3dc7f62..db97ccf 100644 --- a/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/conform.lua +++ b/ansible/roles/neovim/files/nvim/lua/settings/lazy/plugins/conform.lua @@ -1,8 +1,8 @@ return { "stevearc/conform.nvim", init = function() - local whichKey = require("which-key"); - local conform = require("conform") + local whichKey = require("which-key") + local conform = require("conform") whichKey.register({ ["f"] = { @@ -13,9 +13,9 @@ return { conform.format({ bufnr = currentFileBufferNumber }) end, - "Format the current file" - } - } + "Format the current file", + }, + }, }) end, config = function() @@ -26,14 +26,15 @@ return { lua = { "stylua" }, javascript = { "eslint_d" }, php = { "phpcbf" }, - elm = { "elm_format" } + elm = { "elm_format" }, + fish = { "fish_indent" }, }, }) conform.formatters.phpcbf = { prepend_args = { - "--standard=PSR12" - } + "--standard=PSR12", + }, } - end + end, }