ref(nvim): fennel options

This commit is contained in:
Léana 江 2024-01-26 00:32:51 +01:00 committed by Léana 江
parent 28bf2dda1e
commit 5486906c3a
4 changed files with 48 additions and 49 deletions

47
.config/nvim/fnl/opts.fnl Normal file
View file

@ -0,0 +1,47 @@
(fn opt [k v] (tset vim.opt k v))
(fn opt [k v] (tset vim.opt k v))
(opt :hlsearch false)
(opt :incsearch true)
(opt :number true)
(opt :relativenumber true)
(opt :cursorline true)
(opt :signcolumn "yes")
(opt :tabstop 4)
(opt :expandtab true)
(opt :shiftwidth 4)
(opt :wrap false) ; Slows the editor
(opt :linebreak true)
(opt :breakindent true)
(opt :filetype "on")
(opt :swapfile false)
(opt :backup false)
(opt :undofile true)
(opt :termguicolors true)
(opt :mouse "a")
(opt :ignorecase true)
(opt :smartcase true)
(opt :autoindent true)
(opt :smartindent true)
(opt :scrolloff 3)
(opt :colorcolumn "80")
(opt :foldlevel 99)
(opt :foldlevelstart 99)
(opt :foldenable true)
(opt :winbar "%{%v:lua.require'winbar'.eval()%}")
(opt :showmode false)
(opt :listchars
{ :tab "│ " :trail "␣" })
(opt :list true)