summaryrefslogtreecommitdiff
path: root/.config/nvim/plugin/options.lua
diff options
context:
space:
mode:
authorKyren223 <ulmliad223@gmail.com>2024-07-24 14:45:21 +0300
committerKyren223 <ulmliad223@gmail.com>2024-07-24 14:45:21 +0300
commit3c4f03c439369bca263dcf410ff75049707ad55a (patch)
treebc29565dc92aaff69720462d33aaf7fb1023a700 /.config/nvim/plugin/options.lua
parent7206468ebcc414b41427f05bfe90e6e818cf2de6 (diff)
refactor(neovim): moved plugin/ files to lua/custom/config
Diffstat (limited to '.config/nvim/plugin/options.lua')
-rw-r--r--.config/nvim/plugin/options.lua46
1 files changed, 0 insertions, 46 deletions
diff --git a/.config/nvim/plugin/options.lua b/.config/nvim/plugin/options.lua
deleted file mode 100644
index 9ee0fd0..0000000
--- a/.config/nvim/plugin/options.lua
+++ /dev/null
@@ -1,46 +0,0 @@
--- System
-vim.g.have_nerd_font = true
-vim.opt.mouse = 'a' -- enable mouse
-vim.opt.clipboard = 'unnamedplus' -- use system clipboard
-vim.opt.undofile = true -- persist undo history by saving it to a file
-vim.opt.exrc = true -- WARNING: runs .nvim.lua in cwd, which may execute arbitrary code
-
--- Tab
-vim.opt.expandtab = true -- convert tabs to spaces
-vim.opt.tabstop = 4 -- number of visual spaces per TAB
-vim.opt.softtabstop = 4 -- number of idfk tab when editing
-vim.opt.shiftwidth = 4 -- number of spaces to insert on tab
-
--- UI
-vim.opt.signcolumn = 'auto:9'
-vim.opt.number = true
-vim.opt.relativenumber = true
-vim.opt.cursorline = true -- highlight current line
-vim.opt.splitright = true
-vim.opt.splitbelow = true
-vim.opt.showmode = false -- don't show mode, because lualine already does
-vim.opt.list = true
-vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
-vim.diagnostic.config({ signs = false }) -- disable signcolumn diagnostics
-vim.opt.fillchars:append({ diff = '╱' }) -- nicer diff view for filled spaces
-
--- Searching
-vim.opt.hlsearch = true
-vim.opt.ignorecase = true
-vim.opt.smartcase = true
-
--- Misc
-vim.opt_local.wrap = false
-vim.opt.wrap = false
-vim.opt.scrolloff = 8
-vim.opt.undofile = true
-vim.opt.termguicolors = true
-vim.opt.laststatus = 3 -- views can only be fully collapsed with the global statusline
-vim.opt.splitkeep = 'screen' -- for edgy.nvim
-vim.opt.inccommand = 'split' -- shows preview for commands like :%s/from/to
-
--- Disable warnings for missing language providers
-vim.g.loaded_node_provider = 0
-vim.g.loaded_perl_provider = 0
-vim.g.loaded_ruby_provider = 0
-vim.g.loaded_python3_provider = 0