Updated config
This commit is contained in:
@ -8,50 +8,46 @@ end
|
||||
|
||||
-- Options
|
||||
local opt = vim.opt
|
||||
opt.autoindent = true
|
||||
opt.autowrite = false
|
||||
opt.clipboard = "unnamedplus"
|
||||
opt.completeopt = "menu,menuone,noinsert"
|
||||
opt.conceallevel = 0
|
||||
opt.cursorline = true
|
||||
opt.cursorlineopt = "number"
|
||||
opt.expandtab = false
|
||||
opt.grepformat = "%f:%l:%c:%m"
|
||||
opt.grepprg = "rg --grep"
|
||||
opt.ignorecase = false
|
||||
opt.mouse = "a"
|
||||
opt.ruler = false
|
||||
opt.sessionoptions = { "buffers", "curdir", "tabpages", "winsize" }
|
||||
opt.shiftwidth = 4
|
||||
opt.shortmess:append "scCFI"
|
||||
opt.showmode = false
|
||||
opt.showtabline = 0
|
||||
opt.smartindent = true
|
||||
opt.softtabstop = 4
|
||||
opt.spell = false
|
||||
opt.splitbelow = true
|
||||
opt.splitright = true
|
||||
opt.tabstop = 4
|
||||
opt.termguicolors = true
|
||||
opt.undofile = true
|
||||
opt.undolevels = 10000
|
||||
opt.updatetime = 250
|
||||
opt.virtualedit = "onemore"
|
||||
opt.wildmode = "longest:full,full"
|
||||
opt.wrap = false
|
||||
|
||||
-- Indentation
|
||||
opt.autoindent = true
|
||||
opt.expandtab = false
|
||||
opt.shiftwidth = 4
|
||||
opt.smartindent = true
|
||||
opt.softtabstop = 4
|
||||
opt.tabstop = 4
|
||||
|
||||
-- UI
|
||||
opt.fillchars = { eob = " ", vert = " " }
|
||||
opt.laststatus = 0
|
||||
opt.number = true
|
||||
opt.relativenumber = false
|
||||
opt.showtabline = 0
|
||||
opt.signcolumn = "yes"
|
||||
opt.statusline = "%{repeat('─',winwidth('.'))}"
|
||||
|
||||
-- Neovide
|
||||
if g.neovide then
|
||||
opt.linespace = 3
|
||||
g.neovide_fullscreen = true
|
||||
g.neovide_transparency = 0.92
|
||||
vim.o.guifont = "UbuntuMono Nerd Font:h20:#h-none"
|
||||
end
|
||||
-- Undo
|
||||
opt.undofile = true
|
||||
opt.undolevels = 10000
|
||||
|
Reference in New Issue
Block a user