Added onedark in Lazy init.lua
This commit is contained in:
parent
1b6e7bb311
commit
09856a3d9f
@ -21,6 +21,7 @@ require("lazy").setup({
|
|||||||
|
|
||||||
-- Packages
|
-- Packages
|
||||||
"asolkar/vim-color-molokini",
|
"asolkar/vim-color-molokini",
|
||||||
|
"navarasu/onedark.nvim",
|
||||||
"kyazdani42/nvim-web-devicons",
|
"kyazdani42/nvim-web-devicons",
|
||||||
"nvim-lualine/lualine.nvim",
|
"nvim-lualine/lualine.nvim",
|
||||||
"preservim/nerdtree",
|
"preservim/nerdtree",
|
||||||
@ -32,8 +33,8 @@ require("lazy").setup({
|
|||||||
"luochen1990/rainbow",
|
"luochen1990/rainbow",
|
||||||
"tpope/vim-surround",
|
"tpope/vim-surround",
|
||||||
"nathanaelkane/vim-indent-guides",
|
"nathanaelkane/vim-indent-guides",
|
||||||
"https://github.com/intel-sandbox/vim-iosf.git", -- intel
|
-- "https://github.com/intel-sandbox/vim-iosf.git", -- intel
|
||||||
"https://github.com/intel-sandbox/vim-pcietrk", -- intel
|
-- "https://github.com/intel-sandbox/vim-pcietrk", -- intel
|
||||||
"vhda/verilog_systemverilog.vim"
|
"vhda/verilog_systemverilog.vim"
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -97,9 +98,19 @@ require('gitsigns').setup {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- Onedark theme
|
||||||
|
require('onedark').setup {
|
||||||
|
style = 'deep'
|
||||||
|
}
|
||||||
|
require('onedark').load()
|
||||||
|
|
||||||
-- [[ Setting options ]]
|
-- [[ Setting options ]]
|
||||||
-- See `:help vim.o`
|
-- See `:help vim.o`
|
||||||
|
|
||||||
|
if vim.g.neovide then
|
||||||
|
vim.o.guifont = "Iosevka Term:h16"
|
||||||
|
end
|
||||||
|
|
||||||
-- Set highlight on search
|
-- Set highlight on search
|
||||||
vim.o.hlsearch = true
|
vim.o.hlsearch = true
|
||||||
|
|
||||||
@ -138,7 +149,8 @@ vim.wo.signcolumn = 'yes'
|
|||||||
-- Set colorscheme
|
-- Set colorscheme
|
||||||
vim.o.termguicolors = true
|
vim.o.termguicolors = true
|
||||||
-- vim.cmd [[colorscheme molokini]]
|
-- vim.cmd [[colorscheme molokini]]
|
||||||
vim.cmd.colorscheme('molokini')
|
-- vim.cmd.colorscheme('molokini')
|
||||||
|
vim.cmd.colorscheme('onedark')
|
||||||
|
|
||||||
-- Set completeopt to have a better completion experience
|
-- Set completeopt to have a better completion experience
|
||||||
vim.o.completeopt = 'menuone,noselect'
|
vim.o.completeopt = 'menuone,noselect'
|
||||||
@ -188,9 +200,9 @@ vim.api.nvim_set_keymap('n', '<leader>tt', 'i<C-R>=strftime(\'%Y/%m/%d %H:%
|
|||||||
|
|
||||||
vim.g.rainbow_active = 1 -- 0 if you want to enable it later via :RainbowToggle
|
vim.g.rainbow_active = 1 -- 0 if you want to enable it later via :RainbowToggle
|
||||||
|
|
||||||
vim.g.iosftrk_folddisable = 1 -- intel
|
-- vim.g.iosftrk_folddisable = 1 -- intel
|
||||||
vim.g.iosfsbtrk_folddisable = 1 -- intel
|
-- vim.g.iosfsbtrk_folddisable = 1 -- intel
|
||||||
vim.g.pcietrk_folddisable = 1 -- intel
|
-- vim.g.pcietrk_folddisable = 1 -- intel
|
||||||
|
|
||||||
-- [[ Highlight on yank ]]
|
-- [[ Highlight on yank ]]
|
||||||
-- See `:help vim.highlight.on_yank()`
|
-- See `:help vim.highlight.on_yank()`
|
||||||
|
Loading…
Reference in New Issue
Block a user