blob: c768737d83b5e3f11b3f14cfe82e3810804da054 (
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
|
-- general
O.auto_complete = true
O.colorscheme = 'lunar'
O.auto_close_tree = 0
O.wrap_lines = false
O.clang.diagnostics.virtual_text = false
O.clang.diagnostics.signs = false
O.clang.diagnostics.underline = false
-- python
O.python.formatter = 'black'
O.python.linter = 'flake8'
O.python.isort = true
O.python.autoformat = true
O.python.diagnostics.virtual_text = true
O.python.diagnostics.signs = true
O.python.diagnostics.underline = true
-- go
O.go.autoformat = true
-- lua
O.lua.formatter = 'lua-format'
O.lua.autoformat = false
-- javascript
O.tsserver.formatter = 'prettier'
O.tsserver.linter = nil
O.tsserver.autoformat = true
-- json
O.json.autoformat = true
O.json.formatter = 'prettier'
-- sh
O.sh.linter = 'shellcheck'
O.sh.formatter = 'shfmt'
|