change theme to tokyonight
This commit is contained in:
parent
07cd60731a
commit
d95ca94917
57
init.lua
57
init.lua
@ -144,14 +144,26 @@ require('lazy').setup({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- {
|
||||||
|
-- -- Theme inspired by Atom
|
||||||
|
-- -- 'ellisonleao/gruvbox.nvim',
|
||||||
|
-- "folke/tokyonight.nvim",
|
||||||
|
-- priority = 1000,
|
||||||
|
-- config = function()
|
||||||
|
-- vim.cmd.colorscheme 'tokyonight-night'
|
||||||
|
-- vim.cmd('highlight! link SignColumn Normal')
|
||||||
|
-- end,
|
||||||
|
-- opts = {
|
||||||
|
-- style = "storm",
|
||||||
|
-- transparent = true
|
||||||
|
-- }
|
||||||
|
-- },
|
||||||
{
|
{
|
||||||
-- Theme inspired by Atom
|
"folke/tokyonight.nvim",
|
||||||
'ellisonleao/gruvbox.nvim',
|
lazy = false,
|
||||||
priority = 1000,
|
priority = 1000,
|
||||||
config = function()
|
opts = {
|
||||||
vim.cmd.colorscheme 'gruvbox'
|
},
|
||||||
vim.cmd('highlight! link SignColumn Normal')
|
|
||||||
end,
|
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -210,7 +222,8 @@ require('lazy').setup({
|
|||||||
'nvim-treesitter/nvim-treesitter',
|
'nvim-treesitter/nvim-treesitter',
|
||||||
dependencies = {
|
dependencies = {
|
||||||
'nvim-treesitter/nvim-treesitter-textobjects',
|
'nvim-treesitter/nvim-treesitter-textobjects',
|
||||||
'HiPhish/nvim-ts-rainbow2',
|
'hiphish/rainbow-delimiters.nvim',
|
||||||
|
-- 'HiPhish/nvim-ts-rainbow2',
|
||||||
},
|
},
|
||||||
build = ':TSUpdate',
|
build = ':TSUpdate',
|
||||||
},
|
},
|
||||||
@ -234,6 +247,14 @@ require('lazy').setup({
|
|||||||
-- See `:help vim.o`
|
-- See `:help vim.o`
|
||||||
-- NOTE: You can change these options as you wish!
|
-- NOTE: You can change these options as you wish!
|
||||||
|
|
||||||
|
require("tokyonight").setup({
|
||||||
|
style = "night", -- The theme comes in three styles, `storm`, `moon`, a darker variant `night` and `day`
|
||||||
|
transparent = true, -- Enable this to disable setting the background color
|
||||||
|
})
|
||||||
|
|
||||||
|
vim.cmd[[colorscheme tokyonight]]
|
||||||
|
|
||||||
|
|
||||||
-- Set highlight on search
|
-- Set highlight on search
|
||||||
vim.o.hlsearch = false
|
vim.o.hlsearch = false
|
||||||
|
|
||||||
@ -255,7 +276,7 @@ vim.o.mouse = 'a'
|
|||||||
-- Sync clipboard between OS and Neovim.
|
-- Sync clipboard between OS and Neovim.
|
||||||
-- Remove this option if you want your OS clipboard to remain independent.
|
-- Remove this option if you want your OS clipboard to remain independent.
|
||||||
-- See `:help 'clipboard'`
|
-- See `:help 'clipboard'`
|
||||||
vim.o.clipboard = 'unnamedplus'
|
-- vim.o.clipboard = 'unnamedplus'
|
||||||
|
|
||||||
-- Enable break indent
|
-- Enable break indent
|
||||||
vim.o.breakindent = true
|
vim.o.breakindent = true
|
||||||
@ -369,15 +390,15 @@ require('nvim-treesitter.configs').setup {
|
|||||||
node_decremental = '<M-space>',
|
node_decremental = '<M-space>',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
rainbow = {
|
-- rainbow = {
|
||||||
enable = true,
|
-- enable = true,
|
||||||
-- list of languages you want to disable the plugin for
|
-- -- list of languages you want to disable the plugin for
|
||||||
-- disable = { 'jsx', 'cpp' },
|
-- -- disable = { 'jsx', 'cpp' },
|
||||||
-- Which query to use for finding delimiters
|
-- -- Which query to use for finding delimiters
|
||||||
query = 'rainbow-parens',
|
-- query = 'rainbow-parens',
|
||||||
-- Highlight the entire buffer all at once
|
-- -- Highlight the entire buffer all at once
|
||||||
strategy = require('ts-rainbow').strategy.global,
|
-- -- strategy = require('ts-rainbow').strategy.global,
|
||||||
},
|
-- },
|
||||||
textobjects = {
|
textobjects = {
|
||||||
select = {
|
select = {
|
||||||
enable = true,
|
enable = true,
|
||||||
|
Loading…
Reference in New Issue
Block a user