mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2026-03-22 00:36:19 +00:00
Update 2026-02-03
This commit is contained in:
@@ -34,7 +34,7 @@ vim.opt.showcmd = false
|
||||
vim.opt.showmode = false -- we don't need to see things like -- INSERT -- anymore
|
||||
vim.opt.showtabline = 0 -- disable tabs
|
||||
vim.opt.sidescrolloff = 8
|
||||
vim.opt.signcolumn = "auto" -- always show the sign column otherwise it would shift the text each time
|
||||
vim.opt.signcolumn = "yes:1" -- always show the sign column otherwise it would shift the text each time
|
||||
vim.opt.smartcase = true -- smart case
|
||||
vim.opt.smartindent = true -- make indenting smarter again
|
||||
vim.opt.softtabstop = 4
|
||||
|
||||
9
lua/plugins/colorful-winsep.lua
Normal file
9
lua/plugins/colorful-winsep.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
return {
|
||||
"nvim-zh/colorful-winsep.nvim",
|
||||
event = { "WinLeave" },
|
||||
opts = {
|
||||
animate = {
|
||||
enabled = false,
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
local js = { "biome", "biome-check" }
|
||||
local html = { "djlint", "rustywind" }
|
||||
local makrdown = { "cbfmt", "markdownlint", "markdown-toc" }
|
||||
local shell = { "shfmt" }
|
||||
|
||||
return {
|
||||
"stevearc/conform.nvim",
|
||||
@@ -21,7 +22,7 @@ return {
|
||||
["_"] = { "trim_whitespace" },
|
||||
["*"] = { "injected" },
|
||||
asm = { "asmfmt" },
|
||||
bash = { "shfmt" },
|
||||
bash = shell,
|
||||
c = { "clang-format" },
|
||||
cmake = { "cmake_format" },
|
||||
cpp = { "clang-format" },
|
||||
@@ -45,6 +46,7 @@ return {
|
||||
rest = { "kulala" },
|
||||
rust = { "rustfmt", "leptosfmt", "yew-fmt" },
|
||||
scss = { "prettier" },
|
||||
sh = shell,
|
||||
sql = { "sqruff" },
|
||||
toml = { "taplo" },
|
||||
typescript = js,
|
||||
@@ -52,6 +54,7 @@ return {
|
||||
typst = { "typstyle" },
|
||||
vimwiki = makrdown,
|
||||
yaml = { "yamlfmt" },
|
||||
zsh = shell,
|
||||
},
|
||||
formatters = {
|
||||
sqruff = {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
return {
|
||||
"IogaMaster/neocord",
|
||||
enabled = false,
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
blacklist = {}, -- A list of strings or Lua patterns that disable Rich Presence if the current file name, path, or workspace matches
|
||||
|
||||
@@ -45,7 +45,10 @@ return {
|
||||
enabled = true,
|
||||
format = "file",
|
||||
layout = {
|
||||
preset = "telescope",
|
||||
cycle = true,
|
||||
preset = function()
|
||||
return vim.o.columns >= 120 and "telescope" or "vertical"
|
||||
end,
|
||||
},
|
||||
matcher = {
|
||||
frecency = true,
|
||||
@@ -118,21 +121,28 @@ return {
|
||||
{
|
||||
"<C-n>",
|
||||
function()
|
||||
Snacks.picker.files()
|
||||
Snacks.picker.files({
|
||||
hidden = true,
|
||||
})
|
||||
end,
|
||||
desc = "Find Files",
|
||||
},
|
||||
{
|
||||
"<leader>pf",
|
||||
function()
|
||||
Snacks.picker.files()
|
||||
Snacks.picker.files({
|
||||
hidden = true,
|
||||
ignored = true,
|
||||
})
|
||||
end,
|
||||
desc = "Find Files",
|
||||
},
|
||||
{
|
||||
"<leader>ps",
|
||||
function()
|
||||
Snacks.picker.grep()
|
||||
Snacks.picker.grep({
|
||||
hidden = true,
|
||||
})
|
||||
end,
|
||||
desc = "Grep",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user