dotfiles/home/private_dot_config/nvim/lua/config/options.lua

21 lines
458 B
Lua
Raw Normal View History

2023-02-13 13:17:05 -06:00
vim.opt.listchars = {
tab = "│→",
extends = "",
precedes = "",
trail = "·",
nbsp = "",
}
vim.opt.foldenable = false
2023-02-15 11:45:54 -06:00
vim.opt.timeoutlen = 200
2023-09-08 10:39:13 -05:00
2023-12-11 15:45:15 -06:00
vim.g.autoformat = false
2024-05-22 11:48:17 -05:00
-- make .roc files have the correct filetype
vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
pattern = { "*.roc" },
command = "set filetype=roc",
})
2023-09-08 10:39:13 -05:00
-- https://github.com/ziglang/zig.vim/issues/51#issuecomment-1637180522
2024-03-27 14:41:36 -05:00
vim.g.zig_fmt_autosave = 0