Adding onedarkpro colortheme
This commit is contained in:
parent
3cb0415ed3
commit
40c8b3df18
2 changed files with 26 additions and 5 deletions
30
init.lua
30
init.lua
|
@ -26,10 +26,32 @@ vim.cmd([[highlight ColorColumn ctermbg=9]])
|
||||||
-- don't use NeoVim's thin cursor
|
-- don't use NeoVim's thin cursor
|
||||||
vim.opt.guicursor = ""
|
vim.opt.guicursor = ""
|
||||||
|
|
||||||
vim.g.tokyonight_style = "night"
|
--vim.g.tokyonight_style = "night"
|
||||||
vim.cmd([[colorscheme tokyonight]])
|
--vim.cmd([[colorscheme tokyonight]])
|
||||||
--vim.cmd([[colorscheme PaperColor]])
|
--vim.cmd([[colorscheme PaperColor]])
|
||||||
--vim.cmd([[colorscheme moonfly]])
|
--vim.cmd([[colorscheme moonfly]])
|
||||||
|
require("onedarkpro").setup({
|
||||||
|
theme = "onedark_dark",
|
||||||
|
styles = { -- Choose from "bold,italic,underline"
|
||||||
|
strings = "NONE", -- Style that is applied to strings.
|
||||||
|
comments = "italic", -- Style that is applied to comments
|
||||||
|
keywords = "bold", -- Style that is applied to keywords
|
||||||
|
functions = "NONE", -- Style that is applied to functions
|
||||||
|
variables = "NONE", -- Style that is applied to variables
|
||||||
|
virtual_text = "NONE", -- Style that is applied to virtual text
|
||||||
|
},
|
||||||
|
options = {
|
||||||
|
bold = true, -- Use the colorscheme's opinionated bold styles?
|
||||||
|
italic = true, -- Use the colorscheme's opinionated italic styles?
|
||||||
|
underline = true, -- Use the colorscheme's opinionated underline styles?
|
||||||
|
undercurl = true, -- Use the colorscheme's opinionated undercurl styles?
|
||||||
|
cursorline = false, -- Use cursorline highlighting?
|
||||||
|
transparency = false, -- Use a transparent background?
|
||||||
|
terminal_colors = false, -- Use the colorscheme's colors for Neovim's :terminal?
|
||||||
|
window_unfocussed_color = true, -- When the window is out of focus, change the normal background?
|
||||||
|
}
|
||||||
|
})
|
||||||
|
vim.cmd([[colorscheme onedarkpro]])
|
||||||
|
|
||||||
vim.api.nvim_set_keymap("n", "<SPACE>", "<Nop>", { noremap = true })
|
vim.api.nvim_set_keymap("n", "<SPACE>", "<Nop>", { noremap = true })
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
|
@ -155,9 +177,7 @@ vim.diagnostic.config({
|
||||||
-- vim.api.nvim_set_keymap("n", "gR", "<cmd>Trouble lsp_references<cr>",
|
-- vim.api.nvim_set_keymap("n", "gR", "<cmd>Trouble lsp_references<cr>",
|
||||||
-- {silent = true, noremap = true}
|
-- {silent = true, noremap = true}
|
||||||
-- )
|
-- )
|
||||||
|
--
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- original init.vim
|
-- original init.vim
|
||||||
-- syntax on
|
-- syntax on
|
||||||
|
|
|
@ -15,5 +15,6 @@ packer.startup(
|
||||||
use 'folke/tokyonight.nvim'
|
use 'folke/tokyonight.nvim'
|
||||||
use 'bluz71/vim-moonfly-colors'
|
use 'bluz71/vim-moonfly-colors'
|
||||||
use 'NLKNguyen/papercolor-theme'
|
use 'NLKNguyen/papercolor-theme'
|
||||||
|
use 'olimorris/onedarkpro.nvim'
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue