mirror of
https://github.com/danielepintore/dotfiles.git
synced 2026-06-15 20:25:13 +02:00
39 lines
807 B
Lua
39 lines
807 B
Lua
vim.opt.nu = true
|
|
vim.opt.relativenumber = true
|
|
|
|
vim.opt.expandtab = true
|
|
vim.opt.tabstop = 4
|
|
vim.opt.shiftwidth = 4
|
|
vim.opt.softtabstop = 4
|
|
|
|
vim.opt.smartindent = 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.signcolumn = "yes"
|
|
vim.opt.isfname:append("@-@")
|
|
|
|
vim.opt.updatetime = 50
|
|
|
|
vim.opt.colorcolumn = "80"
|
|
|
|
-- Autocomplete menu settings
|
|
vim.opt.completeopt = { "menuone", "noselect", "popup" }
|
|
vim.opt.autocomplete = true
|
|
vim.opt.complete = "o" -- Include only omnifunc results
|
|
vim.opt.pumheight = 5
|
|
|
|
-- Enable the new UI features in Neovim 0.12
|
|
require('vim._core.ui2').enable()
|