Allow cursorline option to be configured by lv-settings (#526)

This commit is contained in:
tafryn 2021-06-26 11:08:40 -07:00 committed by GitHub
parent 0b0ba39193
commit 1c869402c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View file

@ -10,6 +10,7 @@ O = {
wrap_lines = false,
number = true,
relative_number = true,
cursorline = true,
shell = 'bash',
timeoutlen = 100,
nvim_tree_disable_netrw = 0,

View file

@ -25,7 +25,7 @@ vim.cmd('set expandtab') -- Converts tabs to spaces
vim.bo.smartindent = true -- Makes indenting smart
vim.wo.number = O.number -- set numbered lines
vim.wo.relativenumber = O.relative_number -- set relative number
vim.wo.cursorline = true -- Enable highlighting of the current line
vim.wo.cursorline = O.cursorline -- set highlighting of the current line
vim.o.showtabline = 2 -- Always show tabs
vim.o.showmode = false -- We don't need to see things like -- INSERT -- anymore
vim.o.backup = false -- This is recommended by coc

View file

@ -68,3 +68,6 @@ O.go.autoformat = true
-- Turn off relative_numbers
-- O.relative_number = false
-- Turn off cursorline
-- O.cursorline = false