Update
This commit is contained in:
parent
c9ea68b224
commit
05bcbc7f90
84
init.lua
84
init.lua
|
|
@ -888,31 +888,71 @@ require('lazy').setup({
|
||||||
signature = { enabled = true },
|
signature = { enabled = true },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{ -- You can easily change to a different colorscheme.
|
-- { -- You can easily change to a different colorscheme.
|
||||||
-- Change the name of the colorscheme plugin below, and then
|
-- -- Change the name of the colorscheme plugin below, and then
|
||||||
-- change the command in the config to whatever the name of that colorscheme is.
|
-- -- 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`.
|
-- -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
|
||||||
'folke/tokyonight.nvim',
|
-- 'folke/tokyonight.nvim',
|
||||||
priority = 1000, -- Make sure to load this before all the other start plugins.
|
-- priority = 1000, -- Make sure to load this before all the other start plugins.
|
||||||
transparent = true,
|
-- transparent = true,
|
||||||
|
-- config = function()
|
||||||
|
-- ---@diagnostic disable-next-line: missing-fields
|
||||||
|
-- require('tokyonight').setup {
|
||||||
|
-- styles = {
|
||||||
|
-- comments = { italic = false }, -- Disable italics in comments
|
||||||
|
-- keywords = { italic = false },
|
||||||
|
-- sidebars = 'dark', -- style for sidebars, see below
|
||||||
|
-- floats = 'dark', -- style for floating windows
|
||||||
|
-- },
|
||||||
|
-- }
|
||||||
|
|
||||||
|
-- -- 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-storm'
|
||||||
|
-- vim.api.nvim_set_hl(0, 'Normal', { bg = 'none' })
|
||||||
|
-- vim.api.nvim_set_hl(0, 'NormalFloat', { bg = 'none' })
|
||||||
|
-- end,
|
||||||
|
-- },
|
||||||
|
-- Using Lazy
|
||||||
|
-- {
|
||||||
|
-- "ellisonleao/gruvbox.nvim",
|
||||||
|
-- priority = 1000, -- make sure to load this before all the other start plugins
|
||||||
|
-- config = function()
|
||||||
|
-- require('gruvbox').setup {
|
||||||
|
-- style = 'dark'
|
||||||
|
-- }
|
||||||
|
-- -- Enable theme
|
||||||
|
-- require('gruvbox').load()
|
||||||
|
-- end
|
||||||
|
-- },
|
||||||
|
-- Or with configuration
|
||||||
|
{
|
||||||
|
'projekt0n/github-nvim-theme',
|
||||||
|
name = 'github-theme',
|
||||||
|
lazy = false, -- make sure we load this during startup if it is your main colorscheme
|
||||||
|
priority = 1000, -- make sure to load this before all the other start plugins
|
||||||
config = function()
|
config = function()
|
||||||
---@diagnostic disable-next-line: missing-fields
|
require('github-theme').setup {
|
||||||
require('tokyonight').setup {
|
options = {
|
||||||
styles = {
|
styles = {
|
||||||
comments = { italic = false }, -- Disable italics in comments
|
--comments = 'italic',
|
||||||
keywords = { italic = false },
|
--keywords = 'italic',
|
||||||
sidebars = 'dark', -- style for sidebars, see below
|
--types = 'italic',
|
||||||
floats = 'dark', -- style for floating windows
|
},
|
||||||
|
},
|
||||||
|
specs = {
|
||||||
|
github_dark = {
|
||||||
|
syntax = {},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
prettier = {
|
||||||
|
bg1 = '#151b23',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Load the colorscheme here.
|
vim.cmd 'colorscheme github_dark'
|
||||||
-- 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-storm'
|
|
||||||
vim.api.nvim_set_hl(0, 'Normal', { bg = 'none' })
|
|
||||||
vim.api.nvim_set_hl(0, 'NormalFloat', { bg = 'none' })
|
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -961,7 +1001,7 @@ require('lazy').setup({
|
||||||
main = 'nvim-treesitter.configs', -- Sets main module to use for opts
|
main = 'nvim-treesitter.configs', -- Sets main module to use for opts
|
||||||
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|
||||||
opts = {
|
opts = {
|
||||||
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' },
|
ensure_installed = { 'bash', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' },
|
||||||
-- Autoinstall languages that are not installed
|
-- Autoinstall languages that are not installed
|
||||||
auto_install = true,
|
auto_install = true,
|
||||||
highlight = {
|
highlight = {
|
||||||
|
|
@ -992,7 +1032,7 @@ require('lazy').setup({
|
||||||
--
|
--
|
||||||
-- require 'kickstart.plugins.debug',
|
-- require 'kickstart.plugins.debug',
|
||||||
-- require 'kickstart.plugins.indent_line',
|
-- require 'kickstart.plugins.indent_line',
|
||||||
-- require 'kickstart.plugins.lint',
|
require 'kickstart.plugins.lint',
|
||||||
require 'kickstart.plugins.autopairs',
|
require 'kickstart.plugins.autopairs',
|
||||||
-- require 'kickstart.plugins.neo-tree',
|
-- require 'kickstart.plugins.neo-tree',
|
||||||
require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
|
require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue