39 lines
707 B
Lua
39 lines
707 B
Lua
vim.cmd("syntax off")
|
|
vim.cmd("set nowrap")
|
|
|
|
vim.g.autoformat = false
|
|
|
|
-- 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
|
|
|