From b5705f0de1b0ab076aa2d35a2570f9fbb965382e Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 8 Aug 2023 21:23:30 +0300 Subject: [PATCH] add neovim --- .../lua/core/plugin_config/colorscheme.lua | 46 +++++++++++++++++++ config/nvim/lua/core/plugin_config/init.lua | 2 +- config/nvim/lua/core/plugins.lua | 3 ++ 3 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 config/nvim/lua/core/plugin_config/colorscheme.lua diff --git a/config/nvim/lua/core/plugin_config/colorscheme.lua b/config/nvim/lua/core/plugin_config/colorscheme.lua new file mode 100644 index 00000000..7f6bd9c3 --- /dev/null +++ b/config/nvim/lua/core/plugin_config/colorscheme.lua @@ -0,0 +1,46 @@ +require("catppuccin").setup({ + flavour = "mocha", -- latte, frappe, macchiato, mocha + background = { -- :h background + light = "latte", + dark = "mocha", + }, + transparent_background = false, -- disables setting the background color. + show_end_of_buffer = false, -- shows the '~' characters after the end of buffers + term_colors = false, -- sets terminal colors (e.g. `g:terminal_color_0`) + dim_inactive = { + enabled = false, -- dims the background color of inactive window + shade = "dark", + percentage = 0.15, -- percentage of the shade to apply to the inactive window + }, + no_italic = false, -- Force no italic + no_bold = false, -- Force no bold + no_underline = false, -- Force no underline + styles = { -- Handles the styles of general hi groups (see `:h highlight-args`): + comments = { "italic" }, -- Change the style of comments + conditionals = { "italic" }, + loops = {}, + functions = {}, + keywords = {}, + strings = {}, + variables = {}, + numbers = {}, + booleans = {}, + properties = {}, + types = {}, + operators = {}, + }, + color_overrides = {}, + custom_highlights = {}, + integrations = { + cmp = true, + gitsigns = true, + nvimtree = true, + treesitter = true, + notify = false, + mini = false, + -- For more plugins integrations please scroll down (https://github.com/catppuccin/nvim#integrations) + }, +}) + + +vim.cmd.colorscheme "catppuccin" diff --git a/config/nvim/lua/core/plugin_config/init.lua b/config/nvim/lua/core/plugin_config/init.lua index 3c5d9288..eb35f111 100644 --- a/config/nvim/lua/core/plugin_config/init.lua +++ b/config/nvim/lua/core/plugin_config/init.lua @@ -8,6 +8,6 @@ require("core.plugin_config.autopairs") require("core.plugin_config.gitsigns") require("core.plugin_config.precense") require("core.plugin_config.null_ls") -require("core.plugin_config.kanagawa") +require("core.plugin_config.colorscheme") require("core.plugin_config.liveserver") require("core.plugin_config.color-picker") diff --git a/config/nvim/lua/core/plugins.lua b/config/nvim/lua/core/plugins.lua index 3310a406..a253be4b 100644 --- a/config/nvim/lua/core/plugins.lua +++ b/config/nvim/lua/core/plugins.lua @@ -20,6 +20,9 @@ local plugins = { "nvim-tree/nvim-tree.lua", "nvim-tree/nvim-web-devicons", + -- colorscheme + "catppuccin/nvim", + -- default bar only looks good on linux "nvim-lualine/lualine.nvim",