From bc6d3045d28d133c920026fdd708cbbc76f4ba87 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Sun, 4 Jun 2023 20:17:45 +0200 Subject: [PATCH] NeoVim changes --- nvim/.config/nvim/init.lua | 5 ++++- nvim/.config/nvim/lua/evim/packer.lua | 1 + nvim/.config/nvim/plugin/packer_compiled.lua | 13 +++++++++---- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/nvim/.config/nvim/init.lua b/nvim/.config/nvim/init.lua index 3d0f3e3..f04eebf 100644 --- a/nvim/.config/nvim/init.lua +++ b/nvim/.config/nvim/init.lua @@ -9,7 +9,10 @@ require("evim.init") -- Theme vim.opt.termguicolors = true -vim.cmd.colorscheme "melange" +require('onedark').setup { + style = 'darker' +} +vim.cmd.colorscheme "onedark" -- Editor settings vim.opt.nu = true diff --git a/nvim/.config/nvim/lua/evim/packer.lua b/nvim/.config/nvim/lua/evim/packer.lua index d66e89e..b689c61 100644 --- a/nvim/.config/nvim/lua/evim/packer.lua +++ b/nvim/.config/nvim/lua/evim/packer.lua @@ -75,6 +75,7 @@ return require("packer").startup(function(use) config = function() require("nvim-autopairs").setup {} end } + use "navarasu/onedark.nvim" if packer_bootstrap then require("packer").sync() diff --git a/nvim/.config/nvim/plugin/packer_compiled.lua b/nvim/.config/nvim/plugin/packer_compiled.lua index 0fe8434..6b8ccb7 100644 --- a/nvim/.config/nvim/plugin/packer_compiled.lua +++ b/nvim/.config/nvim/plugin/packer_compiled.lua @@ -147,6 +147,11 @@ _G.packer_plugins = { path = "/home/elal/.local/share/nvim/site/pack/packer/opt/nvim-web-devicons", url = "https://github.com/nvim-tree/nvim-web-devicons" }, + ["onedark.nvim"] = { + loaded = true, + path = "/home/elal/.local/share/nvim/site/pack/packer/start/onedark.nvim", + url = "https://github.com/navarasu/onedark.nvim" + }, ["packer.nvim"] = { loaded = true, path = "/home/elal/.local/share/nvim/site/pack/packer/start/packer.nvim", @@ -176,14 +181,14 @@ _G.packer_plugins = { } time([[Defining packer_plugins]], false) --- Config for: todo-comments.nvim -time([[Config for todo-comments.nvim]], true) -try_loadstring("\27LJ\2\n?\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\18todo-comments\frequire\0", "config", "todo-comments.nvim") -time([[Config for todo-comments.nvim]], false) -- Config for: nvim-autopairs time([[Config for nvim-autopairs]], true) try_loadstring("\27LJ\2\n@\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\19nvim-autopairs\frequire\0", "config", "nvim-autopairs") time([[Config for nvim-autopairs]], false) +-- Config for: todo-comments.nvim +time([[Config for todo-comments.nvim]], true) +try_loadstring("\27LJ\2\n?\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\18todo-comments\frequire\0", "config", "todo-comments.nvim") +time([[Config for todo-comments.nvim]], false) -- Config for: Comment.nvim time([[Config for Comment.nvim]], true) try_loadstring("\27LJ\2\n5\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\fComment\frequire\0", "config", "Comment.nvim")