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.splitright = true
vim.opt.splitbelow = 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! -- Preview substitutions live, as you type!
vim.opt.inccommand = 'split' vim.opt.inccommand = 'split'
@ -256,11 +250,12 @@ require('lazy').setup({
'lewis6991/gitsigns.nvim', 'lewis6991/gitsigns.nvim',
opts = { opts = {
signs = { signs = {
add = { text = '+' }, add = { text = '' },
change = { text = '~' }, change = { text = '' },
delete = { text = '_' }, delete = { text = '' },
topdelete = { text = '' }, topdelete = { text = '' },
changedelete = { text = '~' }, changedelete = { text = '~' },
untracked = { text = '' },
}, },
}, },
}, },
@ -620,10 +615,10 @@ require('lazy').setup({
underline = { severity = vim.diagnostic.severity.ERROR }, underline = { severity = vim.diagnostic.severity.ERROR },
signs = vim.g.have_nerd_font and { signs = vim.g.have_nerd_font and {
text = { text = {
[vim.diagnostic.severity.ERROR] = '󰅚 ', [vim.diagnostic.severity.ERROR] = ' ',
[vim.diagnostic.severity.WARN] = '󰀪 ', [vim.diagnostic.severity.WARN] = '󰀪 ',
[vim.diagnostic.severity.INFO] = '󰋽 ', [vim.diagnostic.severity.INFO] = '󰋽 ',
[vim.diagnostic.severity.HINT] = '󰌶 ', [vim.diagnostic.severity.HINT] = ' ',
}, },
} or {}, } or {},
virtual_text = { virtual_text = {
@ -1004,18 +999,16 @@ require('lazy').setup({
-- default lazy.nvim defined Nerd Font icons, otherwise define a unicode icons table -- default lazy.nvim defined Nerd Font icons, otherwise define a unicode icons table
icons = vim.g.have_nerd_font and {} or { icons = vim.g.have_nerd_font and {} or {
cmd = '', cmd = '',
config = '🛠', config = '',
event = '📅', ft = '',
ft = '📂', init = '',
init = '', keys = '',
keys = '🗝',
plugin = '🔌', plugin = '🔌',
runtime = '💻', runtime = '💻',
require = '🌙', require = '🌙',
source = '📄', source = '',
start = '🚀', start = '',
task = '📌', task = '📌',
lazy = '💤 ',
}, },
}, },
}) })

Loading…
Cancel
Save