diff options
author | Yigit Sever | 2022-03-01 21:44:35 +0300 |
---|---|---|
committer | Yigit Sever | 2022-03-01 21:44:35 +0300 |
commit | d532f327fde28aab656c374308991ea4cd43c6c7 (patch) | |
tree | 1f0a0e4736f61d6eda4a29f9b9e9a16197b04880 | |
parent | 85bf07bdf93331892a4f9dc2d1d9f67920261147 (diff) | |
download | dotfiles-d532f327fde28aab656c374308991ea4cd43c6c7.tar.gz dotfiles-d532f327fde28aab656c374308991ea4cd43c6c7.tar.bz2 dotfiles-d532f327fde28aab656c374308991ea4cd43c6c7.zip |
nvim: rosepine config changes
-rw-r--r-- | .config/nvim/lua/plugin_settings.lua | 35 | ||||
-rw-r--r-- | .config/nvim/lua/settings.lua | 3 |
2 files changed, 35 insertions, 3 deletions
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 { | |||
536 | -- Comment.nvim {{{ -- | 536 | -- Comment.nvim {{{ -- |
537 | require('Comment').setup() | 537 | require('Comment').setup() |
538 | -- }}} Comment.nvim -- | 538 | -- }}} Comment.nvim -- |
539 | |||
540 | -- Rose Pine {{{ -- | ||
541 | require('rose-pine').setup({ | ||
542 | dark_variant = 'main', | ||
543 | bold_vert_split = false, | ||
544 | dim_nc_background = false, | ||
545 | disable_background = false, | ||
546 | disable_float_background = false, | ||
547 | disable_italics = true, | ||
548 | groups = { | ||
549 | border = 'highlight_med', | ||
550 | comment = 'muted', | ||
551 | link = 'iris', | ||
552 | punctuation = 'subtle', | ||
553 | |||
554 | error = 'love', | ||
555 | hint = 'iris', | ||
556 | info = 'foam', | ||
557 | warn = 'gold', | ||
558 | |||
559 | headings = { | ||
560 | h1 = 'iris', | ||
561 | h2 = 'foam', | ||
562 | h3 = 'rose', | ||
563 | h4 = 'gold', | ||
564 | h5 = 'pine', | ||
565 | h6 = 'foam', | ||
566 | } | ||
567 | -- or set all headings at once | ||
568 | -- headings = 'subtle' | ||
569 | } | ||
570 | }) | ||
571 | -- set colorscheme after options | ||
572 | vim.cmd('colorscheme rose-pine') | ||
573 | -- }}} 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 | |||
12 | 12 | ||
13 | -- look & feel | 13 | -- look & feel |
14 | o.termguicolors = true | 14 | o.termguicolors = true |
15 | -- Disable italics | ||
16 | vim.g.rose_pine_disable_italics = true | ||
17 | vim.cmd('colorscheme rose-pine') | ||
18 | 15 | ||
19 | -- interact with system clipboard | 16 | -- interact with system clipboard |
20 | opt.clipboard:append('unnamedplus') | 17 | opt.clipboard:append('unnamedplus') |