feat: nvim cin
This commit is contained in:
parent
0b54bbc089
commit
1938b20c82
@ -1,5 +1,4 @@
|
||||
-- variables
|
||||
vim.g.black_linelength = 79
|
||||
|
||||
-- keybindings
|
||||
vim.keymap.set("n", "<Leader>f", "<cmd>Black<CR>", {buffer=true})
|
||||
|
@ -8,6 +8,10 @@ vim.o.expandtab = true
|
||||
vim.o.smartindent = true
|
||||
vim.o.shiftwidth = 4
|
||||
vim.o.tabstop = 4
|
||||
vim.o.cino = "(s"
|
||||
vim.g.python_indent = {
|
||||
open_paren = "shiftwidth()"
|
||||
}
|
||||
|
||||
vim.o.list = true
|
||||
vim.o.listchars = "tab:> ,trail:-,nbsp:+,leadmultispace:│ "
|
||||
@ -31,6 +35,7 @@ vim.o.grepprg = "grep -rn"
|
||||
|
||||
vim.o.scrolloff = 2
|
||||
vim.wo.colorcolumn = "80"
|
||||
vim.g.black_linelength = 79
|
||||
|
||||
vim.g.netrw_banner = 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user