aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua14
1 files changed, 8 insertions, 6 deletions
diff --git a/init.lua b/init.lua
index 20e03d3..f300a96 100644
--- a/init.lua
+++ b/init.lua
@@ -71,11 +71,6 @@ for i, highlight in ipairs(highlights) do
vim.cmd('au VimEnter * hi ' .. highlight)
end
--- Set the colorscheme
-vim.cmd [[
-colorscheme nord
-]]
-
-- Along with the highlight definition for ColorColumn above, these options
-- will set colored marks at certain line lengths
vim.cmd [[
@@ -156,7 +151,14 @@ return require('packer').startup(function()
vim.api.nvim_set_keymap('n', '<leader>ps', '<cmd>source ~/.config/nvim/init.lua<cr><cmd>PackerSync<cr>', { noremap = true })
end
}
- use 'arcticicestudio/nord-vim'
+ use {
+ 'arcticicestudio/nord-vim',
+ config = function()
+ vim.cmd [[
+ colorscheme nord
+ ]]
+ end
+ }
use 'p00f/nvim-ts-rainbow'
use {
'nvim-treesitter/nvim-treesitter',