diff options
author | Cody Hiar <cody@hiar.ca> | 2021-12-23 16:06:55 -0700 |
---|---|---|
committer | Cody Hiar <cody@hiar.ca> | 2021-12-23 16:06:55 -0700 |
commit | bc33fcc71faaa7784ff018f1bd2dd65ca68287d0 (patch) | |
tree | e081dd3f5089ff6a5704d0856afdfa3690fc27c4 | |
parent | 98b5988b7edf0db90736fb1fa0c89dd6bf9d75a8 (diff) |
move colorscheme inside packer module
-rw-r--r-- | init.lua | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -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', |