style: minor styling fixes
This commit is contained in:
4
init.lua
4
init.lua
@@ -25,7 +25,7 @@ vim.o.sessionoptions = "blank,buffers,curdir,folds,help,tabpages,winsize,winpos,
|
||||
-- ╭─────────────╮
|
||||
-- │ Colorscheme │
|
||||
-- ╰─────────────╯
|
||||
vim.cmd("colorscheme gruvbox") -- rose-pine
|
||||
vim.cmd("colorscheme gruvbox") -- rose-pine, gruvbox
|
||||
vim.o.background = "dark" -- "dark" or "light"
|
||||
|
||||
-- ╭───────────────────╮
|
||||
@@ -52,5 +52,3 @@ vim.fn.sign_define("DiagnosticSignError", { text = " ", texthl = "DiagnosticS
|
||||
vim.fn.sign_define("DiagnosticSignWarn", { text = " ", texthl = "DiagnosticSignWarn" })
|
||||
vim.fn.sign_define("DiagnosticSignInfo", { text = " ", texthl = "DiagnosticSignInfo" })
|
||||
vim.fn.sign_define("DiagnosticSignHint", { text = "", texthl = "DiagnosticSignHint" })
|
||||
|
||||
vim.cmd("set noexpandtab") -- expandtab to use spaces instead of tabs
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "d8918f06624dd53b9a82bd0e29c31bcfd541b40d" },
|
||||
"gruvbox-material.nvim": { "branch": "master", "commit": "5de287d8fff70ee73a706c3c95a82f2060741b3e" },
|
||||
"gruvbox.nvim": { "branch": "main", "commit": "5e0a460d8e0f7f669c158dedd5f9ae2bcac31437" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "e10626f7fcd51ccd56d7ffc00883ba7e0aa28f78" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "7e6c863bc7563efbdd757a310d17ebc95166cef3" },
|
||||
|
||||
@@ -85,8 +85,8 @@ return {
|
||||
scope = {
|
||||
char = "⋅",
|
||||
enabled = true,
|
||||
show_start = true,
|
||||
show_end = true,
|
||||
show_start = false,
|
||||
show_end = false,
|
||||
highlight = { "Function", "Label" },
|
||||
priority = 500,
|
||||
exclude = { language = { "css" } },
|
||||
|
||||
@@ -2,83 +2,83 @@
|
||||
-- │ Styling │
|
||||
-- ╰─────────╯
|
||||
return {
|
||||
-- {
|
||||
-- -- dir = "~/Documents/Code/plain-colors.nvim",
|
||||
-- -- "rose-pine/neovim",
|
||||
-- name = "rose-pine",
|
||||
-- opts = {
|
||||
-- variant = "darker", -- dark, light, darker | dawn
|
||||
-- },
|
||||
-- },
|
||||
-- {
|
||||
-- -- dir = "~/Documents/Code/plain-colors.nvim",
|
||||
-- -- "rose-pine/neovim",
|
||||
-- name = "rose-pine",
|
||||
-- opts = {
|
||||
-- variant = "darker", -- dark, light, darker | dawn
|
||||
-- },
|
||||
-- },
|
||||
|
||||
{
|
||||
"ellisonleao/gruvbox.nvim",
|
||||
priority = 1000,
|
||||
config = true,
|
||||
opts = {
|
||||
{
|
||||
"ellisonleao/gruvbox.nvim",
|
||||
priority = 1000,
|
||||
config = true,
|
||||
opts = {
|
||||
|
||||
terminal_colors = true, -- add neovim terminal colors
|
||||
undercurl = true,
|
||||
underline = true,
|
||||
bold = true,
|
||||
italic = {
|
||||
strings = true,
|
||||
emphasis = true,
|
||||
comments = true,
|
||||
operators = false,
|
||||
folds = true,
|
||||
},
|
||||
strikethrough = true,
|
||||
invert_selection = false,
|
||||
invert_signs = false,
|
||||
invert_tabline = false,
|
||||
inverse = true, -- invert background for search, diffs, statuslines and errors
|
||||
contrast = "", -- can be "hard", "soft" or empty string
|
||||
palette_overrides = {},
|
||||
overrides = {},
|
||||
dim_inactive = false,
|
||||
transparent_mode = false,
|
||||
}
|
||||
},
|
||||
terminal_colors = true, -- add neovim terminal colors
|
||||
undercurl = true,
|
||||
underline = true,
|
||||
bold = true,
|
||||
italic = {
|
||||
strings = true,
|
||||
emphasis = true,
|
||||
comments = true,
|
||||
operators = false,
|
||||
folds = true,
|
||||
},
|
||||
strikethrough = true,
|
||||
invert_selection = false,
|
||||
invert_signs = false,
|
||||
invert_tabline = false,
|
||||
inverse = true, -- invert background for search, diffs, statuslines and errors
|
||||
contrast = "", -- can be "hard", "soft" or empty string
|
||||
palette_overrides = {},
|
||||
overrides = {},
|
||||
dim_inactive = false,
|
||||
transparent_mode = false,
|
||||
}
|
||||
},
|
||||
|
||||
{ "echasnovski/mini.icons" },
|
||||
{ "echasnovski/mini.icons" },
|
||||
|
||||
{
|
||||
"folke/noice.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = function()
|
||||
return require("plugins.opts.noice")
|
||||
end,
|
||||
dependencies = {
|
||||
"MunifTanjim/nui.nvim",
|
||||
-- OPTIONAL:
|
||||
-- `nvim-notify` is only needed, if you want to use the notification view.
|
||||
-- If not available, we use `mini` as the fallback
|
||||
-- "rcarriga/nvim-notify",
|
||||
},
|
||||
},
|
||||
{
|
||||
"folke/noice.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = function()
|
||||
return require("plugins.opts.noice")
|
||||
end,
|
||||
dependencies = {
|
||||
"MunifTanjim/nui.nvim",
|
||||
-- OPTIONAL:
|
||||
-- `nvim-notify` is only needed, if you want to use the notification view.
|
||||
-- If not available, we use `mini` as the fallback
|
||||
-- "rcarriga/nvim-notify",
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
"shortcuts/no-neck-pain.nvim",
|
||||
version = "*",
|
||||
},
|
||||
{
|
||||
"shortcuts/no-neck-pain.nvim",
|
||||
version = "*",
|
||||
},
|
||||
|
||||
{
|
||||
"sphamba/smear-cursor.nvim",
|
||||
opts = {
|
||||
smear_between_buffers = false,
|
||||
smear_between_neighbor_lines = true,
|
||||
scroll_buffer_space = true,
|
||||
-- Set to `true` if your font supports legacy computing symbols (block unicode symbols).
|
||||
legacy_computing_symbols_support = false,
|
||||
smear_insert_mode = true,
|
||||
{
|
||||
"sphamba/smear-cursor.nvim",
|
||||
opts = {
|
||||
smear_between_buffers = false,
|
||||
smear_between_neighbor_lines = true,
|
||||
scroll_buffer_space = true,
|
||||
-- Set to `true` if your font supports legacy computing symbols (block unicode symbols).
|
||||
legacy_computing_symbols_support = false,
|
||||
smear_insert_mode = true,
|
||||
|
||||
-- fast smear
|
||||
stiffness = 0.8, -- 0.6 [0, 1]
|
||||
trailing_stiffness = 0.5, -- 0.4 [0, 1]
|
||||
stiffness_insert_mode = 0.6, -- 0.4 [0, 1]
|
||||
trailing_stiffness_insert_mode = 0.6, -- 0.4 [0, 1]
|
||||
distance_stop_animating = 0.5, -- 0.1 > 0
|
||||
},
|
||||
},
|
||||
-- fast smear
|
||||
stiffness = 0.8, -- 0.6 [0, 1]
|
||||
trailing_stiffness = 0.5, -- 0.4 [0, 1]
|
||||
stiffness_insert_mode = 0.6, -- 0.4 [0, 1]
|
||||
trailing_stiffness_insert_mode = 0.6, -- 0.4 [0, 1]
|
||||
distance_stop_animating = 0.5, -- 0.1 > 0
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user