38 lines
661 B
Lua
38 lines
661 B
Lua
vim.o.wrap = false
|
|
vim.o.number = true
|
|
vim.o.wildmode = "longest,list"
|
|
vim.o.colorcolumn = "120"
|
|
vim.o.tabpagemax = 500
|
|
vim.o.scrolloff = 4;
|
|
|
|
-- Indentation
|
|
vim.o.smartindent = true
|
|
vim.o.tabstop = 4
|
|
vim.o.softtabstop = 4
|
|
vim.o.shiftwidth = 4
|
|
vim.o.expandtab = true
|
|
vim.o.cursorcolumn = true
|
|
vim.o.cursorline = true
|
|
|
|
-- Search
|
|
vim.o.incsearch = true
|
|
vim.o.hlsearch = true
|
|
vim.o.ignorecase = true
|
|
vim.o.smartcase = true
|
|
|
|
-- Whitespaces
|
|
vim.o.listchars = "tab:>-,trail:·"
|
|
vim.o.list = true
|
|
|
|
-- File handling
|
|
vim.o.hidden = true
|
|
|
|
vim.cmd("syntax enable")
|
|
vim.cmd("filetype plugin on")
|
|
|
|
-- Colorscheme
|
|
vim.cmd("colorscheme gruvbox")
|
|
|
|
-- REST
|
|
vim.g.rest_nvim = {
|
|
}
|