summaryrefslogtreecommitdiff
path: root/lua/config.lua
diff options
context:
space:
mode:
authorChris <[email protected]>2021-03-27 01:59:28 -0400
committerChris <[email protected]>2021-03-27 01:59:28 -0400
commit127ff7231a63a75887647c11485338b354617c0b (patch)
tree81dc75a1dc28534699660af67d5c55bf2cd3bbd4 /lua/config.lua
parent56f8d4ccbd2380838207df60cf36e60710235e77 (diff)
rough user config, not finished
Diffstat (limited to 'lua/config.lua')
-rw-r--r--lua/config.lua26
1 files changed, 11 insertions, 15 deletions
diff --git a/lua/config.lua b/lua/config.lua
index 0fe195c2..a579e092 100644
--- a/lua/config.lua
+++ b/lua/config.lua
@@ -1,21 +1,17 @@
-AUTO_COMPLETE=true
--- make list of languages
-AUTO_FORMAT=true
-
-COLORSCHEME='nvcode'
-
--- ideas
-
--[[
+O is the global options object
-nv.lint.python='flake8'
-nv.format.python='black'
-nv.format.python='yapf'
-nv.format.python='autopep8'
-nv.format.tsserver='prettier'
-nv.format.tsserver='eslint'
+Formatters and linters should be
+filled in as strings with either
+a global executable or a path to
+an executable
+]]
-]]
+O.auto_complete = true
+O.colorscheme = 'nvcode'
+O.python.formatter = 'yapf'
+O.python.linter = nil
+O.python.autoformat = false