nvim: minor colorscheme tweaks

This commit is contained in:
Dmitry Zakharchenko 2024-03-12 00:00:54 +02:00
parent 2a51f7c5d4
commit 4b1ef058f6
3 changed files with 5 additions and 5 deletions

View file

@ -1,10 +1,10 @@
require 'paq' {
'RRethy/nvim-base16',
'hrsh7th/cmp-buffer',
'hrsh7th/cmp-nvim-lsp',
'hrsh7th/nvim-cmp',
'neovim/nvim-lspconfig',
'nvim-lua/plenary.nvim',
'RRethy/nvim-base16',
'nvim-telescope/telescope.nvim',
'nvim-tree/nvim-tree.lua',
{ 'nvim-treesitter/nvim-treesitter', build = ':TSUpdate' }

View file

@ -9,6 +9,7 @@ base16.setup({
base0C = '#66cccc', base0D = '#538cc6', base0E = '#cc99cc', base0F = '#d27b53'
})
vim.cmd.highlight({'NormalFloat', 'guibg=' .. base16.colors.base01})
vim.cmd.highlight({'LineNr', 'guifg=' .. base16.colors.base03})
vim.cmd.highlight({'StatusLine', 'guibg=' .. base16.colors.base01})
vim.cmd.highlight({'TabLine', 'guifg=' .. base16.colors.base0D})

View file

@ -13,19 +13,18 @@ o.mouse = 'a'
o.nu = true
o.relativenumber = true
o.scrolloff = 8
o.tabstop = 4
o.shiftwidth = 4
o.showcmd = true
o.showmode = true
o.showtabline = 2
o.smartcase = true
o.softtabstop = 4
o.splitright = true
o.swapfile = false
o.tabstop = 4
o.undofile = true
o.autochdir = true
o.termguicolors = true
wo.wrap = false
au({ 'BufWritePre' }, { pattern = { '*' }, command = [[%s/\n\+\%$//e]] })
au({ 'FileType' }, { pattern = { '*' }, command = [[setlocal formatoptions-=cro]] })
au('FileType', { pattern = 'dart', command = 'setlocal ts=2 sw=2 et' })