summaryrefslogtreecommitdiff
path: root/nv-settings.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nv-settings.lua')
-rw-r--r--nv-settings.lua22
1 files changed, 17 insertions, 5 deletions
diff --git a/nv-settings.lua b/nv-settings.lua
index 03e6c99f..b7fa43b4 100644
--- a/nv-settings.lua
+++ b/nv-settings.lua
@@ -8,14 +8,26 @@ an executable
]]
-O.auto_complete = false
+-- general
+O.auto_complete = true
O.colorscheme = 'nvcode'
+-- python
+-- add things like O.python.formatter.yapf.exec_path
+-- add things like O.python.linter.flake8.exec_path
+-- add things like O.python.formatter.isort.exec_path
O.python.formatter = 'yapf'
-O.python.linter = nil
+O.python.linter = 'flake8'
+O.python.isort = true
O.python.autoformat = false
-O.python.diagnostics.virtual_text = false
-O.python.diagnostics.signs = false
-O.python.diagnostics.underline = false
+O.python.diagnostics.virtual_text = true
+O.python.diagnostics.signs = true
+O.python.diagnostics.underline = true
+-- lua
+O.lua.formatter = 'lua-format'
+-- javascript
+O.tsserver.formatter = 'prettier'
+O.tsserver.linter = nil
+O.tsserver.autoformat = false