nvim 10
This commit is contained in:
+3
-10
@@ -1,4 +1,3 @@
|
|||||||
vim.opt.termguicolors = true
|
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
vim.g.maplocalleader = " "
|
vim.g.maplocalleader = " "
|
||||||
|
|
||||||
@@ -63,12 +62,6 @@ require("lazy").setup({
|
|||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"echasnovski/mini.comment",
|
|
||||||
config = function()
|
|
||||||
require("mini.comment").setup({})
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"phaazon/hop.nvim",
|
"phaazon/hop.nvim",
|
||||||
config = function()
|
config = function()
|
||||||
@@ -610,14 +603,14 @@ require("lazy").setup({
|
|||||||
function()
|
function()
|
||||||
return {
|
return {
|
||||||
exe = "black", -- TODO move to ruff
|
exe = "black", -- TODO move to ruff
|
||||||
args = { "--quiet", "-C", "--line-length", "100", "-" },
|
args = { "--quiet", "-C", "--line-length", "100", "--target-version py312", "-" },
|
||||||
stdin = true,
|
stdin = true,
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
function()
|
function()
|
||||||
return {
|
return {
|
||||||
exe = "blackdoc",
|
exe = "blackdoc",
|
||||||
args = { "-q", "--line-length", "100", "-t py311" },
|
args = { "-q", "--line-length", "100", "-t py312" },
|
||||||
stdin = false,
|
stdin = false,
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
@@ -872,7 +865,7 @@ vim.o.expandtab = true -- Use spaces instead of tabs
|
|||||||
vim.o.shiftround = true -- Round indent
|
vim.o.shiftround = true -- Round indent
|
||||||
vim.o.tabstop = 4 -- Number of spaces tabs count for
|
vim.o.tabstop = 4 -- Number of spaces tabs count for
|
||||||
vim.o.shiftwidth = 4 -- Size of an indent
|
vim.o.shiftwidth = 4 -- Size of an indent
|
||||||
vim.o.listchars = "tab:→ ,trail:·,extends:↷,precedes:↶,nbsp:+,eol:↵"
|
vim.o.listchars = "tab:→ ,trail:·,extends:↷,precedes:↶,nbsp:+"
|
||||||
vim.o.list = true -- Show listchars
|
vim.o.list = true -- Show listchars
|
||||||
|
|
||||||
-- search
|
-- search
|
||||||
|
|||||||
Reference in New Issue
Block a user