From 09856a3d9f6b01ee76b84eaf8d084f4d8f18e758 Mon Sep 17 00:00:00 2001 From: Mahesh Asolkar Date: Sat, 26 Aug 2023 20:39:29 -0700 Subject: [PATCH] Added onedark in Lazy init.lua --- nvim.init.lazy.lua | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/nvim.init.lazy.lua b/nvim.init.lazy.lua index 77ef371..7775dcc 100644 --- a/nvim.init.lazy.lua +++ b/nvim.init.lazy.lua @@ -21,6 +21,7 @@ require("lazy").setup({ -- Packages "asolkar/vim-color-molokini", + "navarasu/onedark.nvim", "kyazdani42/nvim-web-devicons", "nvim-lualine/lualine.nvim", "preservim/nerdtree", @@ -32,8 +33,8 @@ require("lazy").setup({ "luochen1990/rainbow", "tpope/vim-surround", "nathanaelkane/vim-indent-guides", - "https://github.com/intel-sandbox/vim-iosf.git", -- intel - "https://github.com/intel-sandbox/vim-pcietrk", -- intel + -- "https://github.com/intel-sandbox/vim-iosf.git", -- intel + -- "https://github.com/intel-sandbox/vim-pcietrk", -- intel "vhda/verilog_systemverilog.vim" }) @@ -97,9 +98,19 @@ require('gitsigns').setup { }, } +-- Onedark theme +require('onedark').setup { + style = 'deep' +} +require('onedark').load() + -- [[ Setting options ]] -- See `:help vim.o` +if vim.g.neovide then + vim.o.guifont = "Iosevka Term:h16" +end + -- Set highlight on search vim.o.hlsearch = true @@ -138,7 +149,8 @@ vim.wo.signcolumn = 'yes' -- Set colorscheme vim.o.termguicolors = true -- vim.cmd [[colorscheme molokini]] -vim.cmd.colorscheme('molokini') +-- vim.cmd.colorscheme('molokini') +vim.cmd.colorscheme('onedark') -- Set completeopt to have a better completion experience vim.o.completeopt = 'menuone,noselect' @@ -188,9 +200,9 @@ vim.api.nvim_set_keymap('n', 'tt', 'i=strftime(\'%Y/%m/%d %H:% vim.g.rainbow_active = 1 -- 0 if you want to enable it later via :RainbowToggle -vim.g.iosftrk_folddisable = 1 -- intel -vim.g.iosfsbtrk_folddisable = 1 -- intel -vim.g.pcietrk_folddisable = 1 -- intel +-- vim.g.iosftrk_folddisable = 1 -- intel +-- vim.g.iosfsbtrk_folddisable = 1 -- intel +-- vim.g.pcietrk_folddisable = 1 -- intel -- [[ Highlight on yank ]] -- See `:help vim.highlight.on_yank()`