blob: b50537c02054cb780e329b1bc6f3abf2a4437edc (
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
|
-- O is the global options object
-- general
O.auto_complete = true
O.relative_number = true
O.colorscheme = 'spacegray'
O.timeoutlen = 100
O.leader_key = ' '
-- After changing plugin config it is recommended to run :PackerCompile
O.plugin.dashboard.active = true
O.plugin.hop.active = true
O.plugin.colorizer.active = true
O.plugin.trouble.active = true
O.plugin.lazygit.active = true
O.plugin.zen.active = true
O.plugin.vim_rooter.active = true
-- O.plugin.markdown_preview.active = true
-- if you don't want all the parsers change this to a table of the ones you want
O.treesitter.ensure_installed = "all"
O.treesitter.ignore_install = {"haskell"}
O.treesitter.highlight.enabled = true
-- lua
O.lang.lua.autoformat = true
O.lang.lua.formatter = 'lua-format'
-- python
O.lang.python.formatter = 'black'
O.lang.python.linter = 'flake8'
O.lang.python.isort = true
O.lang.python.autoformat = true
O.lang.python.diagnostics.virtual_text = true
O.lang.python.diagnostics.signs = true
O.lang.python.diagnostics.underline = true
-- rust
-- go
O.lang.go.autoformat = true
-- json
O.lang.json.autoformat = true
O.lang.json.formatter = 'prettier'
-- sh
O.lang.sh.linter = 'shellcheck'
O.lang.sh.formatter = 'shfmt'
|