nixos/config/nvim/lua/options.lua

24 lines
629 B
Lua
Raw Normal View History

2023-01-17 10:21:02 +00:00
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"
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