nixos/config/nvim/lua/options.lua

23 lines
609 B
Lua
Raw Normal View History

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
2022-11-28 16:53:10 +00:00
vim.opt.mouse = "nvi"
2022-11-07 16:41:35 +00:00
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