From d532f327fde28aab656c374308991ea4cd43c6c7 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 1 Mar 2022 21:44:35 +0300 Subject: nvim: rosepine config changes --- .config/nvim/lua/plugin_settings.lua | 35 +++++++++++++++++++++++++++++++++++ .config/nvim/lua/settings.lua | 3 --- 2 files changed, 35 insertions(+), 3 deletions(-) (limited to '.config/nvim/lua') diff --git a/.config/nvim/lua/plugin_settings.lua b/.config/nvim/lua/plugin_settings.lua index 537f908..e7b5344 100644 --- a/.config/nvim/lua/plugin_settings.lua +++ b/.config/nvim/lua/plugin_settings.lua @@ -536,3 +536,38 @@ require('gitsigns').setup { -- Comment.nvim {{{ -- require('Comment').setup() -- }}} Comment.nvim -- + +-- Rose Pine {{{ -- +require('rose-pine').setup({ + dark_variant = 'main', + bold_vert_split = false, + dim_nc_background = false, + disable_background = false, + disable_float_background = false, + disable_italics = true, + groups = { + border = 'highlight_med', + comment = 'muted', + link = 'iris', + punctuation = 'subtle', + + error = 'love', + hint = 'iris', + info = 'foam', + warn = 'gold', + + headings = { + h1 = 'iris', + h2 = 'foam', + h3 = 'rose', + h4 = 'gold', + h5 = 'pine', + h6 = 'foam', + } + -- or set all headings at once + -- headings = 'subtle' + } +}) +-- set colorscheme after options +vim.cmd('colorscheme rose-pine') +-- }}} Rose Pine -- diff --git a/.config/nvim/lua/settings.lua b/.config/nvim/lua/settings.lua index db112af..c874aae 100644 --- a/.config/nvim/lua/settings.lua +++ b/.config/nvim/lua/settings.lua @@ -12,9 +12,6 @@ local opt = vim.opt -- convenient :set -- look & feel o.termguicolors = true --- Disable italics -vim.g.rose_pine_disable_italics = true -vim.cmd('colorscheme rose-pine') -- interact with system clipboard opt.clipboard:append('unnamedplus') -- cgit v1.2.3-70-g09d2