summary refs log tree commit diff
path: root/.vim/plugin/options.lua
diff options
context:
space:
mode:
Diffstat (limited to '.vim/plugin/options.lua')
-rw-r--r--.vim/plugin/options.lua39
1 files changed, 0 insertions, 39 deletions
diff --git a/.vim/plugin/options.lua b/.vim/plugin/options.lua
deleted file mode 100644
index dba726a..0000000
--- a/.vim/plugin/options.lua
+++ /dev/null
@@ -1,39 +0,0 @@
-local opt = vim.opt
-
-opt.number = true
-opt.cursorline = true
-
--- connect system clipboard
-opt.clipboard:prepend({ 'unnamedplus' })
-
--- preview supported ops in split buffer
-opt.inccommand = 'split'
-
--- show whitespace indicators
-opt.list = true
-opt.listchars:append({
-  trail = '¬',
-  tab = '> ',
-  -- space = '·',
-  lead = '·',
-})
-opt.showbreak = '↪ '
-
--- show indicator and wrap text at 80 chars
-opt.colorcolumn = '+1'
-opt.textwidth = 79
-opt.wrap = true
-
-opt.conceallevel = 2
-opt.concealcursor = nil
-
--- use treesitter to determine folds
-opt.foldmethod = 'expr'
-opt.foldexpr = 'v:lua.vim.treesitter.foldexpr()'
-opt.foldlevel = 99
-
--- https://fosstodon.org/@rockorager/114183888444195197
-opt.mousescroll = 'ver:1,hor:6'
-
--- load local vim config (will as to allow it)
-opt.exrc = true