This repository has been archived on 2024-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
linux/.config/nvim/lua/config/Etc.lua

22 lines
695 B
Lua
Raw Normal View History

2023-08-08 16:24:15 +03:00
-- TODO: add comments and separate files.
vim.opt.number = true
vim.opt.wildmode = 'longest,list'
-- vim.opt.completeopt = 'menuone,noselect'
vim.opt.cursorline = true
vim.opt.ttyfast = true
vim.opt.splitright = true
vim.opt.splitbelow = true
vim.opt.clipboard = 'unnamedplus'
vim.opt.fixeol = false
vim.opt.termguicolors = true
vim.cmd("autocmd BufEnter * set fo-=c fo-=r fo-=o")
vim.cmd("set mouse=") -- disable mouse.
2023-09-29 01:16:02 +03:00
-- disable signs for diagnostics.
vim.diagnostic.config({ signs = false })
2023-11-18 04:58:23 +03:00
-- Display for invisible characters.
2023-11-18 05:09:41 +03:00
-- vim.cmd("set list listchars=tab:>\\ ,trail:-,eol:,lead:.")
vim.cmd("set list listchars=tab:>\\ ,trail:-,lead:.")