blob: e82c3c808e7e424ee18793766b1fc764b0f8e18d (
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
|
-- O is the global options object
-- general
O.auto_complete = true
O.relative_number = true
O.colorscheme = 'dark'
O.timeoutlen = 100
O.leader_key = ' '
-- After changing plugin config it is recommended to run :PackerCompile
O.plugin.colorizer.active = true
O.plugin.dashboard.active = true
O.plugin.diffview.active = true
O.plugin.hop.active = true
O.plugin.indent_line.active = true
O.plugin.lush.active = true
O.plugin.sanegx.active = false
O.plugin.symbol_outline.active = false
O.plugin.telescope_fzy.active = true
O.plugin.trouble.active = true
O.plugin.ts_autotag.active = true
O.plugin.zen.active = true
O.plugin.vim_rooter.active = false
-- 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
O.lang.rust.rust_tools.active = true
-- 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'
|