浏览代码

Update README.md

Abouzar Parvan 4 年之前
父节点
当前提交
e3fb747131
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 7 1
      README.md

+ 7 - 1
README.md

@@ -78,10 +78,16 @@ O.lang.tsserver.linter = nil
 O.lang.tsserver.autoformat = true
 
 -- python
--- O.lang.python.linter = 'flake8'
 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"
 
 -- Additional Plugins
 -- O.user_plugins = {