summaryrefslogtreecommitdiff
path: root/nv-settings.lua
diff options
context:
space:
mode:
authorChris <[email protected]>2021-03-27 17:21:52 -0400
committerChris <[email protected]>2021-03-27 17:21:52 -0400
commit56798ec142a34fdcf090612de9ecbd07052f29b3 (patch)
treeab1af4799a9401f450dc4c07e2cca01362153c53 /nv-settings.lua
parent2c5d18ebbcb86c84fc864ef5b4dce31483ddf761 (diff)
added more user options
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