# Vim TCCS ![colorscheme-example](tccs-example.png) Tiyns custom color scheme (TCCS) for vim is an adaption of [Mofiquls vscode.nvim](https://github.com/Mofiqul/vscode.nvim) which is based upon colors from [tomasisers vim-code-dark](https://github.com/tomasiser/vim-code-dark). The colors were changed and differ from the original quite a bit. Additionally the support for multiple different flavors was removed. This color scheme is available only in dark mode. This color scheme uses colors that match the ones of VSCode with strong red and yellow colors for errors and warnings. Additionally a darker background was added for better contrast. The example picture is taken with all settings available from my [dotfiles](https://github.com/tiyn/dotfiles). It is recommended to take a look into it to get similar highlighting, etc. ## Supported Plugins Following Plugins are especially supported by this color scheme. Other plugins may work as well, but don't are explicitly configured. - [Aerial.NVIM](https://github.com/stevearc/aerial.nvim/) - [Diffview](https://github.com/sindrets/diffview.nvim) - [GitSigns](https://github.com/lewis6991/gitsigns.nvim) - [LSP-Signature](https://github.com/ray-x/lsp_signature.nvim) - [Lualine](https://github.com/nvim-lualine/lualine.nvim) - [Modes.nvim](https://github.com/mvllow/modes.nvim) - [NavBuddy](https://github.com/SmiteshP/nvim-navbuddy) - [NVIM CMP](https://github.com/hrsh7th/nvim-cmp) - [NVIM Cursorword](https://github.com/xiyaowong/nvim-cursorword) - [NVIM Scrollbar](https://github.com/petertriho/nvim-scrollbar) - [NVIM Telescope](https://github.com/nvim-telescope/telescope.nvim) - [NVIM Tree](https://github.com/nvim-tree/nvim-tree.lua) - [NVIM Treesitter](https://github.com/nvim-treesitter/nvim-treesitter) - [NVIM Ufo](https://github.com/kevinhwang91/nvim-ufo) - [VIM Illuminate](https://github.com/RRethy/vim-illuminate) - [Wilder](https://github.com/gelguy/wilder.nvim) ## Setup This section supposes [Lazy.nvim](https://github.com/folke/lazy.nvim) is used. Other plugin managers can be used too - the setup has to be adapted accordingly then. Add the following line into the function `return require("lazy").setup({})` to load the plugin. ```lua { 'tiyn/tccs.nvim', config = function() require('tccs').setup() vim.cmd('colorscheme tccs') end }, ``` For LuaLine support add the following lines in in the same way of the previous code block. ```lua { 'nvim-lualine/lualine.nvim', dependencies = { 'nvim-tree/nvim-web-devicons', 'tiyn/tccs.nvim', }, opts = { options = { theme = 'tccs', }, }, } ``` ### Options ```lua -- Enable transparent background transparent = true, -- Enable italic comment italic_comments = true, -- Disable nvim-tree background color disable_nvimtree_bg = true, -- Override colors (see ./lua/vscode/colors.lua) color_overrides = { vscLineNumber = '#FFFFFF', }, -- Override highlight groups (see ./lua/vscode/theme.lua) group_overrides = { -- this supports the same val table as vim.api.nvim_set_hl -- use colors from this color scheme by requiring vscode.colors! Cursor = { fg=c.vscDarkBlue, bg=c.vscLightGreen, bold=true }, } ```