12345678910111213141516171819202122232425262728293031323334353637383940 |
- vim.cmd("syntax on")
- vim.cmd("set nowrap")
- vim.g.autoformat = false
- vim.g.zig_fmt_autosave = 0
- -- The standard.
- vim.cmd.language("en_US")
- -- Fucking hate swapfiles.
- vim.opt.swapfile = false
- -- Show line number.
- vim.o.number = true
- --
- vim.o.cursorline = true
- -- For quick changing of character case.
- vim.opt.tildeop = true
- -- Cursor stuff.
- vim.o.guicursor = 'n-v-c-sm-i-ci-ve:block,r-cr-o:hor20,a:blinkoff700-blinkoff400-blinkoff250-Cursor/lCursor'
- -- To see more.
- vim.opt.listchars = {
- tab = '|-',
- trail = '.',
- lead = '.',
- }
- -- Should recall later.
- vim.opt.list = true
- -- Golang, C based configuration
- vim.o.expandtab = false
- vim.o.autoindent = true
- vim.o.foldmethod = 'indent'
- vim.o.tabstop = 4
- vim.o.shiftwidth = 4
|