nixos/lua/options.lua

23 lines
572 B
Lua
Raw Normal View History

vim.g.python3_host_prog = '~/.pyenv/versions/neovim3/bin/python'
vim.g.python_indent = {
open_paren = 'shiftwidth()',
nested_paren = 'shiftwidth()',
continue = 'shiftwidth()',
closed_paren_align_last_line = 'v:false',
}
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