1
0
Fork 0

nvim: always show sign column, show diff in statusline

This commit is contained in:
tastytea 2022-09-28 12:04:23 +02:00
parent f63b754fd1
commit 00695a556e
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
2 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@ local options = {
shada = [['1000,<50,s10,h]], -- save last 1000 files
title = true, -- set terminal title
spelllang = 'en', -- words from all regions
signcolumn = 'yes' -- always show sign column
}
for k, v in pairs(options) do
vim.o[k] = v

View File

@ -88,6 +88,7 @@ require('lualine').setup({
lualine_a = { { 'mode' } },
lualine_b = {
{ 'branch', icons_enabled = true },
{ 'diff' },
{ 'require("my.functions").lsp_status()', padding = 0 },
{ 'diagnostics' }
},