radiant.nvim/lua/core/options.lua

58 lines
997 B
Lua
Raw Normal View History

2023-12-30 14:48:18 +00:00
-- Shorten name
local o = vim.opt
-- Clipboard
o.clipboard = "unnamedplus"
-- Completion improvement
o.updatetime = 300
-- Indentation
o.smartindent = true
o.expandtab = true
o.showtabline = 2
o.shiftwidth = 2
o.tabstop = 2
-- General improvements
o.fileencoding = "utf-8"
o.hlsearch = true
o.ignorecase = true
o.mouse = "a"
o.pumheight = 10
o.showmode = false
o.smartcase = true
o.splitbelow = true
o.splitright = true
o.timeoutlen = 1000
o.conceallevel = 3
2023-12-30 14:48:18 +00:00
o.undofile = true
o.cursorline = true
o.number = true
o.numberwidth = 4
o.relativenumber = true
o.signcolumn = "yes"
o.termguicolors = true
2024-01-16 20:53:36 +00:00
o.autochdir = true
2023-12-30 14:48:18 +00:00
2024-01-16 20:34:00 +00:00
-- Fix rendering of ASCII
o.linespace = -1
2024-03-29 14:25:19 +00:00
-- Wrap lines
o.wrap = true
o.linebreak = true
2023-12-30 14:48:18 +00:00
-- Disable backups and swapfile
o.backup = false
o.swapfile = false
-- Font
o.guifont = "ZedMono Nerd Font:h10.5"
2023-12-30 14:48:18 +00:00
-- Colorscheme
2024-01-20 15:27:37 +00:00
vim.cmd("colorscheme kagayaki")
2024-03-25 13:39:29 +00:00
-- Transparent nontext
vim.opt.fillchars:append { eob = " " }
2024-01-04 13:42:50 +00:00
-- Neovide transparency
vim.g.neovide_transparency = 0.9