summaryrefslogtreecommitdiff
path: root/utils/installer/lv-config.example.lua
diff options
context:
space:
mode:
authorAbouzar Parvan <[email protected]>2021-07-12 05:59:21 +0000
committerGitHub <[email protected]>2021-07-12 05:59:21 +0000
commitfc5412033d6416bb4d8df23572d5689184039040 (patch)
tree2f82aad1db4adbede80580b04009f1567d7ce308 /utils/installer/lv-config.example.lua
parent21a174faac599a19ff9968b5d2d7e52d20f7e8eb (diff)
Update lv-config.example.lua
Diffstat (limited to 'utils/installer/lv-config.example.lua')
-rw-r--r--utils/installer/lv-config.example.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/installer/lv-config.example.lua b/utils/installer/lv-config.example.lua
index 05c29c58..f9758518 100644
--- a/utils/installer/lv-config.example.lua
+++ b/utils/installer/lv-config.example.lua
@@ -36,6 +36,13 @@ O.treesitter.highlight.enabled = true
O.lang.python.isort = true
O.lang.python.diagnostics.virtual_text = true
O.lang.python.analysis.use_library_code_types = true
+-- to change default formatter from yapf to black
+-- O.lang.python.formatter.exe = "black"
+-- O.lang.python.formatter.args = {"-"}
+
+-- go
+-- to change default formatter from gofmt to goimport
+-- O.lang.formatter.go.exe = "goimport"
-- javascript
O.lang.tsserver.linter = nil