clean up options.lua
This commit is contained in:
parent
49546d07d3
commit
453a2349b5
|
|
@ -1,13 +1,6 @@
|
||||||
local opt = vim.opt
|
local opt = vim.opt
|
||||||
local g = vim.g
|
local g = vim.g
|
||||||
|
|
||||||
-- use filetype.lua instead of filetype.vim. it's enabled by default in neovim 0.8 (nightly)
|
|
||||||
g.vim_version = vim.version().minor
|
|
||||||
if g.vim_version < 8 then
|
|
||||||
g.did_load_filetypes = 0
|
|
||||||
g.do_filetype_lua = 1
|
|
||||||
end
|
|
||||||
|
|
||||||
opt.laststatus = 3 -- global statusline
|
opt.laststatus = 3 -- global statusline
|
||||||
opt.cmdheight = 1
|
opt.cmdheight = 1
|
||||||
opt.clipboard = "unnamedplus"
|
opt.clipboard = "unnamedplus"
|
||||||
|
|
|
||||||
Reference in New Issue