Skip to content

Commit

Permalink
🌍 Change color of compe, support fold
Browse files Browse the repository at this point in the history
  • Loading branch information
Nguyen-Hoang-Nam committed Apr 7, 2021
1 parent fcc75a4 commit b538f2b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 9 additions & 1 deletion lua/autocommands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ augroup([[autocmd VimEnter * hi LineNr guibg=NONE]])
augroup([[autocmd VimEnter * hi EndOfBuffer guibg=#282C34 guifg=#282C34]])
augroup([[autocmd VimEnter * hi SignColumn guibg=NONE guifg=NONE]])
augroup([[autocmd VimEnter * hi VertSplit guibg=NONE]])
augroup([[autocmd VimEnter * hi GitLens guifg=#949494 gui=italic]])
--augroup([[autocmd VimEnter * hi GitLens guifg=#949494 gui=italic]])
augroup([[autocmd VimEnter * hi Whitespace guifg=#949494]])
augroup([[autocmd VimEnter * hi StatusLineNC gui=underline guibg=NONE guifg=#3e4451]])
augroup([[autocmd VimEnter * hi Pmenusel guibg=#85dc85]])
augroup([[autocmd VimEnter * hi Pmenu guibg=#353b45]])
augroup([[augroup END]])

augroup([[augroup Terminal]])
Expand All @@ -45,6 +47,12 @@ augroup([[augroup Vertical]])
augroup([[autocmd! BufEnter * if &ft ==# 'help' | wincmd L | endif]])
augroup([[augroup END]])

augroup([[augroup Gitsign]])
augroup([[autocmd VimEnter * hi DiffAdd guifg=#81A1C1 guibg = none]])
augroup([[autocmd VimEnter * hi DiffChange guifg =#3A3E44 guibg = none]])
augroup([[autocmd VimEnter * hi DiffModified guifg = #81A1C1 guibg = none]])
augroup([[augroup END]])

--augroup([[augroup Gitlen]])
--augroup([[autocmd!]])
--augroup([[autocmd CursorHold * lua require('gitlen.lua').blameVirtText()]])
Expand Down
2 changes: 2 additions & 0 deletions lua/options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ opt('w', 'cursorline', true)
opt('w', 'signcolumn', 'yes')
opt('w', 'list', true)
opt('w', 'listchars', 'tab:▏\\ ,trail:-,eol:↡')
opt('w', 'foldmethod', 'expr')
opt('w', 'foldexpr', 'nvim_treesitter#foldexpr()')

-- Local to buffer
opt('b', 'shiftwidth', 2)
Expand Down

0 comments on commit b538f2b

Please sign in to comment.