aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.vim2
-rw-r--r--lua/init.lua2
-rw-r--r--lua/plugins.lua (renamed from lua/plugins/init.lua)4
-rw-r--r--lua/theme.lua3
4 files changed, 9 insertions, 2 deletions
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/init.lua b/lua/plugins.lua
index 31702eb..11cbd16 100644
--- a/lua/plugins/init.lua
+++ b/lua/plugins.lua
@@ -4,5 +4,7 @@
vim.cmd [[packadd packer.nvim]]
return require('packer').startup(function(use)
- use 'wbthomason/packer.nvim'
+ use { 'wbthomason/packer.nvim', opt = true }
+
+ use { 'tanvirtin/monokai.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
+}