Updated config
This commit is contained in:
@ -11,6 +11,7 @@ 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"
|
||||
@ -18,11 +19,12 @@ opt.expandtab = false
|
||||
opt.grepformat = "%f:%l:%c:%m"
|
||||
opt.grepprg = "rg --grep"
|
||||
opt.ignorecase = false
|
||||
opt.linespace = 0
|
||||
opt.mouse = "a"
|
||||
opt.ruler = false
|
||||
opt.sessionoptions = { "buffers", "curdir", "tabpages", "winsize" }
|
||||
opt.shiftwidth = 4
|
||||
opt.shortmess:append "sCFI"
|
||||
opt.shortmess:append "scCFI"
|
||||
opt.showmode = false
|
||||
opt.showtabline = 0
|
||||
opt.smartindent = true
|
||||
@ -35,7 +37,9 @@ opt.termguicolors = true
|
||||
opt.undofile = true
|
||||
opt.undolevels = 10000
|
||||
opt.updatetime = 250
|
||||
opt.virtualedit = "onemore"
|
||||
opt.wildmode = "longest:full,full"
|
||||
opt.winblend = 10
|
||||
opt.wrap = false
|
||||
|
||||
-- UI
|
||||
@ -45,3 +49,10 @@ opt.number = true
|
||||
opt.relativenumber = false
|
||||
opt.signcolumn = "number"
|
||||
opt.statusline = "%{repeat('─',winwidth('.'))}"
|
||||
|
||||
-- Neovide
|
||||
if g.neovide then
|
||||
g.neovide_fullscreen = true
|
||||
g.neovide_transparency = 0.9
|
||||
vim.o.guifont = "UbuntuMono Nerd Font:h20"
|
||||
end
|
||||
|
Reference in New Issue
Block a user