This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| return { | |
| 'stevearc/conform.nvim', | |
| dependencies = 'zapling/mason-conform.nvim', | |
| event = { 'BufWritePre' }, | |
| cmd = { 'ConformInfo' }, | |
| keys = { | |
| { | |
| '<leader>f', | |
| function() | |
| require('conform').format { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require("nvchad.mappings") | |
| local fn = vim.fn | |
| local api = vim.api | |
| local defer_fn = vim.defer_fn | |
| local map = vim.keymap.set | |
| map("n", "<leader>fm", function() | |
| require("conform").format({ | |
| async = true, | |
| timeout_ms = 5000, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # This will keep all the dot files consistent across systems. | |
| # | |
| # Leonardo Mora Castro | |
| # December, 2023 | |
| help() { | |
| cat <<EOF | |
| USAGE: |