From 865c863f795ce3022f57f15e795bfa0d2172b3a0 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 30 Mar 2023 15:55:02 +0400 Subject: Plugged in the theme Signed-off-by: Valentin Popov --- init.vim | 2 +- lua/init.lua | 2 ++ lua/plugins.lua | 10 ++++++++++ lua/plugins/init.lua | 8 -------- lua/theme.lua | 3 +++ 5 files changed, 16 insertions(+), 9 deletions(-) create mode 100644 lua/init.lua create mode 100644 lua/plugins.lua delete mode 100644 lua/plugins/init.lua create mode 100644 lua/theme.lua diff --git a/init.vim b/init.vim index 56d9608..f8b71c1 100644 --- a/init.vim +++ b/init.vim @@ -1,5 +1,5 @@ " Connecting the plugin manager -lua require('plugins') +lua require('init') augroup packer_user_config autocmd! diff --git a/lua/init.lua b/lua/init.lua new file mode 100644 index 0000000..a334322 --- /dev/null +++ b/lua/init.lua @@ -0,0 +1,2 @@ +require('plugins') +require('theme') \ No newline at end of file diff --git a/lua/plugins.lua b/lua/plugins.lua new file mode 100644 index 0000000..11cbd16 --- /dev/null +++ b/lua/plugins.lua @@ -0,0 +1,10 @@ +-- This file can be loaded by calling `lua require('plugins')` from your init.vim + +-- Only required if you have packer configured as `opt` +vim.cmd [[packadd packer.nvim]] + +return require('packer').startup(function(use) + use { 'wbthomason/packer.nvim', opt = true } + + use { 'tanvirtin/monokai.nvim' } +end) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua deleted file mode 100644 index 31702eb..0000000 --- a/lua/plugins/init.lua +++ /dev/null @@ -1,8 +0,0 @@ --- This file can be loaded by calling `lua require('plugins')` from your init.vim - --- Only required if you have packer configured as `opt` -vim.cmd [[packadd packer.nvim]] - -return require('packer').startup(function(use) - use 'wbthomason/packer.nvim' -end) diff --git a/lua/theme.lua b/lua/theme.lua new file mode 100644 index 0000000..1cef14d --- /dev/null +++ b/lua/theme.lua @@ -0,0 +1,3 @@ +require('monokai').setup { + palette = require('monokai').pro +} -- cgit v1.2.3