diff --git a/lua/user/colorscheme.lua b/lua/user/colorscheme.lua index 881948cbf..2a941d51d 100644 --- a/lua/user/colorscheme.lua +++ b/lua/user/colorscheme.lua @@ -1,9 +1,45 @@ +require('onedark').setup { + -- Main options -- + style = 'dark', -- Default theme style. Choose between 'dark', 'darker', 'cool', 'deep', 'warm', 'warmer' and 'light' + transparent = false, -- Show/hide background + term_colors = true, -- Change terminal color as per the selected theme style + ending_tildes = false, -- Show the end-of-buffer tildes. By default they are hidden + -- toggle theme style --- + toggle_style_key = 'ts', -- Default keybinding to toggle + toggle_style_list = {'dark', 'darker', 'cool', 'deep', 'warm', 'warmer', 'light'}, -- List of styles to toggle between + + -- Change code style --- + -- Options are italic, bold, underline, none + -- You can configure multiple style with comma seperated, For e.g., keywords = 'italic,bold' + code_style = { + comments = 'italic', + keywords = 'none', + functions = 'none', + strings = 'none', + variables = 'none' + }, + + -- Custom Highlights -- + colors = {}, -- Override default colors + highlights = {}, -- Override highlight groups + + -- Plugins Config -- + diagnostics = { + darker = true, -- darker colors for diagnostic + undercurl = true, -- use undercurl instead of underline for diagnostics + background = true, -- use background color for virtual text + }, +} + vim.cmd [[ try - colorscheme tokyonight -" colorscheme kanagawa + " colorscheme tokyonight + " colorscheme kanagawa + colorscheme onedark catch /^Vim\%((\a\+)\)\=:E185/ colorscheme default set background=dark endtry ]] + + diff --git a/lua/user/lualine.lua b/lua/user/lualine.lua index ceb2f9287..fa4b51d1d 100644 --- a/lua/user/lualine.lua +++ b/lua/user/lualine.lua @@ -30,6 +30,7 @@ end require("lualine").setup({ options = { + globalstatus = true, component_separators = "|", section_separators = { left = "", right = "" }, disabled_filetypes = { "alpha", "dashboard", "NvimTree", "Outline" }, diff --git a/lua/user/plugins.lua b/lua/user/plugins.lua index 9eb33c47e..671de5e87 100644 --- a/lua/user/plugins.lua +++ b/lua/user/plugins.lua @@ -60,10 +60,10 @@ return packer.startup(function(use) -- use "shaunsingh/nord.nvim" -- use "shaunsingh/moonlight.nvim" use "folke/tokyonight.nvim" - use 'rebelot/kanagawa.nvim' - use {"catppuccin/nvim", as = 'catppuccin'} + -- use 'rebelot/kanagawa.nvim' + -- use {"catppuccin/nvim", as = 'catppuccin'} -- use "projekt0n/github-nvim-theme" - -- use "navarasu/onedark.nvim" + use "navarasu/onedark.nvim" -- cmp plugins use "hrsh7th/nvim-cmp" -- The completion plugin @@ -124,6 +124,10 @@ return packer.startup(function(use) requires = "folke/zen-mode.nvim", } + use {"KCaverly/py.nvim", ft = {"python"}, config = function() require("py").setup() end} + + + -- Automatically set up your configuration after cloning packer.nvim -- Put this at the end after all plugins if PACKER_BOOTSTRAP then require("packer").sync() end