set onedark as default colorscheme
This commit is contained in:
parent
9aa032fedd
commit
e350848d45
33
init.lua
33
init.lua
|
@ -228,19 +228,19 @@ require('lazy').setup({
|
|||
-- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link).
|
||||
'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
|
||||
'tpope/vim-surround',
|
||||
{
|
||||
'windwp/nvim-autopairs',
|
||||
event = 'InsertEnter',
|
||||
config = function()
|
||||
require('nvim-autopairs').setup {}
|
||||
end,
|
||||
},
|
||||
{
|
||||
'windwp/nvim-ts-autotag',
|
||||
config = function()
|
||||
require('nvim-ts-autotag').setup {}
|
||||
end,
|
||||
},
|
||||
-- {
|
||||
-- 'windwp/nvim-autopairs',
|
||||
-- event = 'InsertEnter',
|
||||
-- config = function()
|
||||
-- require('nvim-autopairs').setup {}
|
||||
-- end,
|
||||
-- },
|
||||
-- {
|
||||
-- 'windwp/nvim-ts-autotag',
|
||||
-- config = function()
|
||||
-- require('nvim-ts-autotag').setup {}
|
||||
-- end,
|
||||
-- },
|
||||
|
||||
-- NOTE: Plugins can also be added by using a table,
|
||||
-- with the first argument being the link and the following
|
||||
|
@ -802,13 +802,14 @@ require('lazy').setup({
|
|||
-- change the command in the config to whatever the name of that colorscheme is.
|
||||
--
|
||||
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
|
||||
'folke/tokyonight.nvim',
|
||||
'navarasu/onedark.nvim',
|
||||
priority = 1000, -- Make sure to load this before all the other start plugins.
|
||||
opts = { style = 'deep' },
|
||||
init = function()
|
||||
-- Load the colorscheme here.
|
||||
-- Like many other themes, this one has different styles, and you could load
|
||||
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
|
||||
vim.cmd.colorscheme 'tokyonight-night'
|
||||
vim.cmd.colorscheme 'onedark'
|
||||
|
||||
-- You can configure highlights by doing something like:
|
||||
vim.cmd.hi 'Comment gui=none'
|
||||
|
@ -900,7 +901,7 @@ require('lazy').setup({
|
|||
require 'kickstart.plugins.debug',
|
||||
require 'kickstart.plugins.indent_line',
|
||||
-- require 'kickstart.plugins.lint',
|
||||
-- require 'kickstart.plugins.autopairs',
|
||||
require 'kickstart.plugins.autopairs',
|
||||
require 'kickstart.plugins.neo-tree',
|
||||
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
|
||||
|
||||
|
|
Loading…
Reference in New Issue