Created
September 1, 2025 17:14
-
-
Save be4zad/b662cc53b99be240dec4ba4f53c5003c to your computer and use it in GitHub Desktop.
Disabling autoformat in LazyVim
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
| vim.api.nvim_create_autocmd("FileType", { | |
| pattern = { "html", "javascript", "c", "php", "php", "markdown", "sql", "java" }, | |
| callback = function() | |
| vim.b.autoformat = false | |
| end, | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment