22 lines
488 B
Lua
22 lines
488 B
Lua
vim.opt.listchars = {
|
|
tab = "│→",
|
|
extends = "⟩",
|
|
precedes = "⟨",
|
|
trail = "·",
|
|
nbsp = "␣",
|
|
}
|
|
vim.opt.foldenable = false
|
|
vim.opt.timeoutlen = 200
|
|
|
|
vim.g.autoformat = false
|
|
|
|
-- make .roc files have the correct filetype
|
|
vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
|
|
pattern = { "*.roc" },
|
|
command = "set filetype=roc",
|
|
})
|
|
|
|
-- https://github.com/ziglang/zig.vim/issues/51#issuecomment-1637180522
|
|
vim.g.zig_fmt_autosave = 0
|
|
|
|
vim.lsp.set_log_level("off")
|