upgrade to Neovim 0.10
This commit is contained in:
parent
aa0f1fbd92
commit
6efd6ad743
14 changed files with 115 additions and 74 deletions
|
|
@ -3,6 +3,7 @@ return {
|
|||
name = "catppuccin",
|
||||
tag = "stable",
|
||||
lazy = false,
|
||||
enabled = false,
|
||||
priority = 1000,
|
||||
opts = {},
|
||||
-- config = function()
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
return {
|
||||
"sindrets/diffview.nvim",
|
||||
tag = "main",
|
||||
branch = "main",
|
||||
--event = "VeryLazy",
|
||||
opts = {},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,27 +0,0 @@
|
|||
return {
|
||||
"rebelot/kanagawa.nvim",
|
||||
tag = "master",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
opts = {},
|
||||
config = function()
|
||||
require("kanagawa").setup({
|
||||
colors = {
|
||||
palette = {
|
||||
-- change all usages of these colors
|
||||
sumiInk0 = "#000000",
|
||||
fujiWhite = "#FFFFFF",
|
||||
},
|
||||
theme = {
|
||||
all = {
|
||||
ui = {
|
||||
bg_gutter = "none",
|
||||
--bg_visual = "#8a9a7b",
|
||||
bg_visual = "#938056",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
|
@ -53,10 +53,9 @@ return {
|
|||
},
|
||||
},
|
||||
lualine_c = {
|
||||
{ "searchcount" },
|
||||
--{ "searchcount" },
|
||||
{
|
||||
"buffers",
|
||||
--show_filename_only = false,
|
||||
show_filename_only = true,
|
||||
--fmt = function(str)
|
||||
-- return str:sub(1, 1)
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
return {
|
||||
'EdenEast/nightfox.nvim',
|
||||
lazy = true,
|
||||
priority = 1000,
|
||||
opts = {},
|
||||
--config = function()
|
||||
-- vim.cmd.colorscheme 'duskfox'
|
||||
--end
|
||||
return {
|
||||
"EdenEast/nightfox.nvim",
|
||||
lazy = true,
|
||||
priority = 1000,
|
||||
enabled = false,
|
||||
opts = {},
|
||||
--config = function()
|
||||
-- vim.cmd.colorscheme 'duskfox'
|
||||
--end
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,8 @@ return {
|
|||
local oil = require("oil")
|
||||
oil.setup({
|
||||
-- Leave netrw there, so we can open link with `gx`
|
||||
default_file_explorer = false,
|
||||
--default_file_explorer = false,
|
||||
default_file_explorer = true,
|
||||
columns = {
|
||||
--"size",
|
||||
"icon",
|
||||
|
|
|
|||
9
lua/weeheavy/plugins/rosepine.lua
Normal file
9
lua/weeheavy/plugins/rosepine.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
return {
|
||||
"rose-pine/neovim",
|
||||
name = "rose-pine",
|
||||
branch = "main",
|
||||
lazy = false,
|
||||
enabled = false,
|
||||
priority = 1000,
|
||||
opts = {},
|
||||
}
|
||||
|
|
@ -2,6 +2,7 @@ return {
|
|||
"folke/tokyonight.nvim",
|
||||
tag = "stable",
|
||||
lazy = false,
|
||||
enabled = true,
|
||||
priority = 1000,
|
||||
opts = {},
|
||||
config = function()
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ return {
|
|||
"go",
|
||||
"gomod",
|
||||
"gosum",
|
||||
"tcl",
|
||||
},
|
||||
incremental_selection = {
|
||||
enable = true,
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
-- A pretty diagnostics, references, telescope results, quickfix and location
|
||||
-- list to help you solve all the trouble your code is causing.
|
||||
-- https://github.com/folke/trouble.nvim
|
||||
return {
|
||||
"folke/trouble.nvim",
|
||||
dependencies = {
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
},
|
||||
}
|
||||
24
lua/weeheavy/plugins/trouble.lua
Normal file
24
lua/weeheavy/plugins/trouble.lua
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
-- A pretty diagnostics, references, telescope results, quickfix and location
|
||||
-- list to help you solve all the trouble your code is causing.
|
||||
-- https://github.com/folke/trouble.nvim
|
||||
return {
|
||||
"folke/trouble.nvim",
|
||||
dependencies = {
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
},
|
||||
lazy = false,
|
||||
keys = {
|
||||
-- TODO: add more keymaps
|
||||
{
|
||||
"<leader>qq",
|
||||
"<cmd>Trouble diagnostics toggle<cr>",
|
||||
desc = "Diagnostics (Trouble)",
|
||||
},
|
||||
{
|
||||
"<leader>qq",
|
||||
"<cmd>Trouble diagnostics toggle focus=true<cr>",
|
||||
desc = "Diagnostics (Trouble)",
|
||||
},
|
||||
},
|
||||
opts = {},
|
||||
}
|
||||
|
|
@ -5,9 +5,52 @@ return {
|
|||
dependencies = {
|
||||
"folke/twilight.nvim",
|
||||
opts = {
|
||||
treesitter = true,
|
||||
context = 2,
|
||||
},
|
||||
},
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
opts = {},
|
||||
opts = {
|
||||
window = {
|
||||
backdrop = 0.95, -- shade the backdrop of the Zen window. Set to 1 to keep the same as Normal
|
||||
width = 0.75, -- width of the Zen window
|
||||
height = 1, -- height of the Zen window
|
||||
-- by default, no options are changed for the Zen window
|
||||
-- uncomment any of the options below, or add other vim.wo options you want to apply
|
||||
options = {
|
||||
signcolumn = "no", -- disable signcolumn
|
||||
number = false, -- disable number column
|
||||
relativenumber = false, -- disable relative numbers
|
||||
cursorline = false, -- disable cursorline
|
||||
cursorcolumn = false, -- disable cursor column
|
||||
foldcolumn = "0", -- disable fold column
|
||||
list = false, -- disable whitespace characters
|
||||
},
|
||||
},
|
||||
plugins = {
|
||||
-- disable some global vim options (vim.o...)
|
||||
-- comment the lines to not apply the options
|
||||
options = {
|
||||
enabled = true,
|
||||
ruler = false, -- disables the ruler text in the cmd line area
|
||||
showcmd = false, -- disables the command in the last line of the screen
|
||||
-- you may turn on/off statusline in zen mode by setting 'laststatus'
|
||||
-- statusline will be shown only if 'laststatus' == 3
|
||||
laststatus = 0, -- turn off the statusline in zen mode
|
||||
},
|
||||
twilight = { enabled = true }, -- enable to start Twilight when zen mode opens
|
||||
gitsigns = { enabled = false }, -- disables git signs
|
||||
-- this will change the font size on alacritty when in zen mode
|
||||
-- requires Alacritty Version 0.10.0 or higher
|
||||
-- uses `alacritty msg` subcommand to change font size
|
||||
alacritty = {
|
||||
enabled = true,
|
||||
font = "20", -- font size
|
||||
},
|
||||
},
|
||||
-- callback where you can add custom code when the Zen window opens
|
||||
on_open = function(win) end,
|
||||
-- callback where you can add custom code when the Zen window closes
|
||||
on_close = function() end,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue