update neovim linux-dev
This commit is contained in:
parent
cfb474d7c8
commit
0091a4a8e3
@ -3,7 +3,7 @@ vim.g.mapleader = " "
|
|||||||
vim.g.maplocalleader = " "
|
vim.g.maplocalleader = " "
|
||||||
|
|
||||||
-- Use Nerd Font
|
-- Use Nerd Font
|
||||||
vim.g.have_nerd_font = true
|
vim.g.have_nerd_font = false
|
||||||
|
|
||||||
-- Add vertical line
|
-- Add vertical line
|
||||||
-- vim.opt.colorcolumn = "100"
|
-- vim.opt.colorcolumn = "100"
|
||||||
@ -65,16 +65,14 @@ vim.opt.timeoutlen = 300
|
|||||||
vim.opt.splitright = true
|
vim.opt.splitright = true
|
||||||
vim.opt.splitbelow = true
|
vim.opt.splitbelow = true
|
||||||
|
|
||||||
-- Sets how neovim will display certain whitespace characters in the editor.
|
|
||||||
vim.opt.list = true
|
|
||||||
vim.opt.listchars = { tab = "» ", trail = "·", nbsp = "␣" }
|
|
||||||
|
|
||||||
-- Preview substitutions live, as you type
|
-- Preview substitutions live, as you type
|
||||||
vim.opt.inccommand = "split"
|
vim.opt.inccommand = "split"
|
||||||
|
|
||||||
-- Show which line your cursor is on
|
-- Show which line your cursor is on
|
||||||
vim.opt.cursorline = true
|
vim.opt.cursorline = true
|
||||||
|
|
||||||
|
vim.opt.guicursor = "n-v-i-c:block"
|
||||||
|
|
||||||
-- Minimal number of screen lines to keep above and below the cursor
|
-- Minimal number of screen lines to keep above and below the cursor
|
||||||
vim.opt.scrolloff = 10
|
vim.opt.scrolloff = 10
|
||||||
|
|
||||||
@ -84,3 +82,4 @@ vim.api.nvim_create_autocmd("TextYankPost", {
|
|||||||
vim.highlight.on_yank()
|
vim.highlight.on_yank()
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@ -1,9 +0,0 @@
|
|||||||
return {
|
|
||||||
{ -- Add indentation guides even on blank lines
|
|
||||||
'lukas-reineke/indent-blankline.nvim',
|
|
||||||
-- Enable `lukas-reineke/indent-blankline.nvim`
|
|
||||||
-- See `:help ibl`
|
|
||||||
main = 'ibl',
|
|
||||||
opts = {},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user