mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-05 10:35:03 +02:00
Allow cursorline option to be configured by lv-settings (#526)
This commit is contained in:
parent
0b0ba39193
commit
1c869402c1
3 changed files with 5 additions and 1 deletions
|
@ -10,6 +10,7 @@ O = {
|
|||
wrap_lines = false,
|
||||
number = true,
|
||||
relative_number = true,
|
||||
cursorline = true,
|
||||
shell = 'bash',
|
||||
timeoutlen = 100,
|
||||
nvim_tree_disable_netrw = 0,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -68,3 +68,6 @@ O.go.autoformat = true
|
|||
|
||||
-- Turn off relative_numbers
|
||||
-- O.relative_number = false
|
||||
|
||||
-- Turn off cursorline
|
||||
-- O.cursorline = false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue