radiant.nvim/lua/core/options.lua

57 lines
982 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
2023-12-30 14:48:18 +00:00
-- Do not wrap lines
o.wrap = false
-- Disable backups and swapfile
o.backup = false
o.swapfile = false
-- Font
o.guifont = "Iosevka Comfy:h10.5"
-- 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