summaryrefslogtreecommitdiff
path: root/home/.config
diff options
context:
space:
mode:
Diffstat (limited to 'home/.config')
-rw-r--r--home/.config/nvim/init.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/home/.config/nvim/init.lua b/home/.config/nvim/init.lua
index f348032..7b434d8 100644
--- a/home/.config/nvim/init.lua
+++ b/home/.config/nvim/init.lua
@@ -10,9 +10,9 @@ vim.opt.mouse = "" -- Disable mouse
vim.opt.number = true
-local r = vim.version.range('0.0.0 - 0.10.0')
-
-vim.cmd("colorscheme vim")
+if vim.fn.has('nvim-0.10.0') == 1 then
+ vim.cmd("colorscheme vim")
+end
vim.keymap.set('', '<M-Up>', ':move-2<CR>', { silent = true })
vim.keymap.set('', '<M-Down>', ':move+1<CR>', { silent = true })