summaryrefslogtreecommitdiff
path: root/utils/installer/lv-config.example.lua
diff options
context:
space:
mode:
Diffstat (limited to 'utils/installer/lv-config.example.lua')
-rw-r--r--utils/installer/lv-config.example.lua8
1 files changed, 6 insertions, 2 deletions
diff --git a/utils/installer/lv-config.example.lua b/utils/installer/lv-config.example.lua
index 45bf4df8..cbc495e8 100644
--- a/utils/installer/lv-config.example.lua
+++ b/utils/installer/lv-config.example.lua
@@ -11,6 +11,7 @@ an executable
-- general
O.format_on_save = true
+O.lint_on_save = true
O.completion.autocomplete = true
O.colorscheme = "spacegray"
O.auto_close_tree = 0
@@ -35,12 +36,15 @@ 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
+-- To change default formatter from yapf to black
-- O.lang.python.formatter.exe = "black"
-- O.lang.python.formatter.args = {"-"}
+-- To change enabled linters
+-- https://github.com/mfussenegger/nvim-lint#available-linters
+-- O.lang.python.linters = { "flake8", "pylint", "mypy", ... }
-- go
--- to change default formatter from gofmt to goimports
+-- To change default formatter from gofmt to goimports
-- O.lang.formatter.go.exe = "goimports"
-- javascript