nvim/lua/config/options.lua
Simon Lasbrugnas f77fa9f8e4
style: hide visible tabs
Replaced with indent-blankline plugin
2024-09-13 18:07:57 +02:00

33 lines
732 B
Lua
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.tabstop = 4
vim.opt.softtabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = false
vim.opt.smartindent = true
vim.opt.cursorline = true
vim.opt.wrap = false
vim.opt.swapfile = false
vim.opt.backup = false
vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
vim.opt.undofile = true
vim.opt.hlsearch = false
vim.opt.incsearch = true
vim.opt.termguicolors = true
vim.opt.scrolloff = 8
vim.opt.sidescrolloff = 16
vim.opt.updatetime = 100
vim.opt.list = false
vim.opt.listchars = "tab: ,extends:,precedes:,nbsp:·,trail:·"
vim.g.python3_host_prog = "/usr/bin/python3"
-- Always use system clipboard (I might regret this)
vim.opt.clipboard = "unnamedplus"