blob: 92104d39225c2d9373644e551c596e5c9583989d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
(import-macros {: set!} :nvrc.macro.set)
(set! clipboard :unnamedplus)
; Interface
(set! cul)
(set! cmdheight 1)
(set! noruler)
(set! nonumber)
(set! norelativenumber)
(set! shortmess+ :sI)
(set! signcolumn "auto:3")
(set! scrolloff 3)
(set! splitbelow)
(set! splitright)
(set! termguicolors)
(set! lazyredraw)
; Style
(set! expandtab)
(set! tabstop 2)
(set! shiftwidth 2)
(set! smartindent)
(set! list)
(set! listchars {:tab ">-" :extends ">" :precedes "<" :trail "-" :nbsp "+"})
; Miscellaneous
(set! ignorecase)
(set! smartcase)
(set! mouse :a)
(set! timeoutlen 400)
(set! updatetime 250)
(set! undofile)
(set! whichwrap+ "<>[]hl")
(let [built-ins [:netrw
:netrwPlugin
:netrwSettings
:netrwFileHandlers
:gzip
:zip
:zipPlugin
:tar
:tarPlugin
:getscript
:getscriptPlugin
:vimball
:vimballPlugin
:2html_plugin
:logipat
:rrhelper
:spellfile_plugin
:matchit]
providers [:perl :python :python3 :node :ruby]]
(each [_ v (ipairs built-ins)]
(let [b (.. :loaded_ v)]
(tset vim.g b 1)))
(each [_ v (ipairs providers)]
(let [p (.. :loaded_ v :_provider)]
(tset vim.g p 0))))
|