From afc8eb2a77f9c2af91ba3597776b38d347096049 Mon Sep 17 00:00:00 2001 From: TBS093A Date: Fri, 28 Apr 2023 16:34:01 +0200 Subject: [PATCH] feat: improve vsc theme configuration && some fixes --- vim.config/init.vim | 40 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 3 deletions(-) diff --git a/vim.config/init.vim b/vim.config/init.vim index 070243a..a619883 100644 --- a/vim.config/init.vim +++ b/vim.config/init.vim @@ -150,9 +150,39 @@ call plug#begin() " loading lua scripts + " vscode.nvim loading + + au VimEnter * lua vim.o.background = "dark" + + au VimEnter * lua require("vscode").setup({ + \ + \ local c = require("vscode.colors").get_colors() + \ + \ transparent = true, + \ + \ italic_comments = true, + \ + \ disable_nvimtree_bg = true, + \ + \ color_overrides = { + \ vscLineNumber = '#FFFFFF', + \ }, + \ + \ group_overrides = { + \ Cursor = { + \ fg = c.vscDarkBlue, + \ bg = c.vscLightGreen, + \ bold = true + \ }, + \ }, + \ }) + + au VimEnter * lua require("vscode").load() + + " bufferline loading - au VimEnter * lua require("bufferline").setup({ + au VimEnter * lua require("bufferline").setup({ \ ioptions = { \ buffer_close_icon = "", \ close_command = "bdelete %d", @@ -209,14 +239,18 @@ call plug#begin() \ close_button_visible = { \ fg = { attribute = "fg", highlight = "Normal" }, \ bg = { attribute = "bg", highlight = "Normal" }, - \ }, + \ }, \ }, \ }) " lualine loading - au VimEnter * lua require("lualine").setup() + au VimEnter * lua require("lualine").setup({ + \ options = { + \ theme = 'vscode' + \ }, + \ }) " toggleterm loading