mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-05-04 23:47:23 +00:00
nvim: disable line numbers for terminal buffers
This commit is contained in:
parent
a68024ea0f
commit
7cf6d55de0
1 changed files with 3 additions and 0 deletions
|
|
@ -208,6 +208,9 @@ vim.g.desolate_info = '#ffffff'
|
||||||
-- Set colorscheme
|
-- Set colorscheme
|
||||||
vim.cmd.colorscheme 'desolate'
|
vim.cmd.colorscheme 'desolate'
|
||||||
|
|
||||||
|
-- Disable line numbers for terminal buffers
|
||||||
|
vim.api.nvim_create_autocmd({ 'TermOpen' }, { pattern = { '*' }, command = 'setlocal nonumber'})
|
||||||
|
|
||||||
-- Tune diagnostic signs
|
-- Tune diagnostic signs
|
||||||
local signs = { Error = '■ ', Warn = '■ ', Hint = '■ ', Info = '■ ' }
|
local signs = { Error = '■ ', Warn = '■ ', Hint = '■ ', Info = '■ ' }
|
||||||
for type, icon in pairs(signs) do
|
for type, icon in pairs(signs) do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue