feat: nvim: remove auto format for zig.

This commit is contained in:
Andrey Parhomenko 2024-07-14 20:10:31 +05:00
parent 59e32b7e44
commit 7174b15a3d
2 changed files with 2 additions and 1 deletions

View file

@ -41,7 +41,7 @@ createAutoCmd({
"BufNewFile", "BufNewFile",
"BufRead", "BufRead",
},{ },{
pattern = "*.py", pattern = "*.py,*.zig",
callback = function() callback = function()
local buf = vim.bo[vim.api.nvim_get_current_buf()] local buf = vim.bo[vim.api.nvim_get_current_buf()]
buf.expandtab = true buf.expandtab = true

View file

@ -2,6 +2,7 @@ vim.cmd("syntax off")
vim.cmd("set nowrap") vim.cmd("set nowrap")
vim.g.autoformat = false vim.g.autoformat = false
vim.g.zig_fmt_autosave = 0
-- The standard. -- The standard.
vim.cmd.language("en_US") vim.cmd.language("en_US")