From 127ff7231a63a75887647c11485338b354617c0b Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 27 Mar 2021 01:59:28 -0400 Subject: rough user config, not finished --- lua/config.lua | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) (limited to 'lua/config.lua') 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 -- cgit v1.2.3