Update init.lua

pull/1379/head
Sayanta 3 weeks ago committed by GitHub
parent 34e7d29aa7
commit 372f9187f1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -141,12 +141,6 @@ vim.opt.timeoutlen = 300
vim.opt.splitright = true
vim.opt.splitbelow = true
-- Sets how neovim will display certain whitespace characters in the editor.
-- See `:help 'list'`
-- and `:help 'listchars'`
vim.opt.list = true
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '' }
-- Preview substitutions live, as you type!
vim.opt.inccommand = 'split'
@ -256,11 +250,12 @@ require('lazy').setup({
'lewis6991/gitsigns.nvim',
opts = {
signs = {
add = { text = '+' },
change = { text = '~' },
delete = { text = '_' },
add = { text = '' },
change = { text = '' },
delete = { text = '' },
topdelete = { text = '' },
changedelete = { text = '~' },
untracked = { text = '' },
},
},
},
@ -620,10 +615,10 @@ require('lazy').setup({
underline = { severity = vim.diagnostic.severity.ERROR },
signs = vim.g.have_nerd_font and {
text = {
[vim.diagnostic.severity.ERROR] = '󰅚 ',
[vim.diagnostic.severity.ERROR] = ' ',
[vim.diagnostic.severity.WARN] = '󰀪 ',
[vim.diagnostic.severity.INFO] = '󰋽 ',
[vim.diagnostic.severity.HINT] = '󰌶 ',
[vim.diagnostic.severity.HINT] = ' ',
},
} or {},
virtual_text = {
@ -1004,18 +999,16 @@ require('lazy').setup({
-- default lazy.nvim defined Nerd Font icons, otherwise define a unicode icons table
icons = vim.g.have_nerd_font and {} or {
cmd = '',
config = '🛠',
event = '📅',
ft = '📂',
init = '',
keys = '🗝',
config = '',
ft = '',
init = '',
keys = '',
plugin = '🔌',
runtime = '💻',
require = '🌙',
source = '📄',
start = '🚀',
source = '',
start = '',
task = '📌',
lazy = '💤 ',
},
},
})

Loading…
Cancel
Save