nixos/config/nvim/lua/options.lua
2023-02-13 12:57:12 +00:00

24 lines
617 B
Lua

vim.opt.title = true
vim.g.python3_host_prog = "/usr/bin/python3"
vim.g.python_indent = {
open_paren = "shiftwidth()",
nested_paren = "shiftwidth()",
continue = "shiftwidth()",
closed_paren_align_last_line = "v:false",
}
vim.opt.termguicolors = true
vim.opt.mouse = "nv"
vim.opt.shiftwidth = 4
vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.listchars = { trail = ".", tab = ">_" }
vim.opt.list = true
vim.opt.wrap = true
vim.opt.linebreak = true
vim.opt.autoread = true
vim.opt.expandtab = true
vim.opt.autoindent = true
vim.opt.smartindent = true
vim.opt.splitbelow = true
vim.opt.splitright = true