feat: nvim: remove auto format for zig.
This commit is contained in:
parent
59e32b7e44
commit
7174b15a3d
2 changed files with 2 additions and 1 deletions
|
@ -41,7 +41,7 @@ createAutoCmd({
|
|||
"BufNewFile",
|
||||
"BufRead",
|
||||
},{
|
||||
pattern = "*.py",
|
||||
pattern = "*.py,*.zig",
|
||||
callback = function()
|
||||
local buf = vim.bo[vim.api.nvim_get_current_buf()]
|
||||
buf.expandtab = true
|
||||
|
|
|
@ -2,6 +2,7 @@ vim.cmd("syntax off")
|
|||
vim.cmd("set nowrap")
|
||||
|
||||
vim.g.autoformat = false
|
||||
vim.g.zig_fmt_autosave = 0
|
||||
|
||||
-- The standard.
|
||||
vim.cmd.language("en_US")
|
||||
|
|
Loading…
Reference in a new issue