From 42638f60619e965f66386ae6cd656951ac4a8fac Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 27 Mar 2021 04:13:07 -0400 Subject: nv-settings.lua --- init.lua | 3 ++- lua/config.lua | 21 --------------------- nv-settings.lua | 21 +++++++++++++++++++++ 3 files changed, 23 insertions(+), 22 deletions(-) delete mode 100644 lua/config.lua create mode 100644 nv-settings.lua diff --git a/init.lua b/init.lua index adcf13f0..e006f9a9 100644 --- a/init.lua +++ b/init.lua @@ -2,7 +2,8 @@ require('plugins') require('nv-utils') require('nv-globals') -require('config') +vim.cmd('luafile ~/.config/nvim/nv-settings.lua') +-- require('config') require('settings') require('keymappings') require('colorscheme') diff --git a/lua/config.lua b/lua/config.lua deleted file mode 100644 index ef081199..00000000 --- a/lua/config.lua +++ /dev/null @@ -1,21 +0,0 @@ ---[[ -O is the global options object - -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 -O.python.diagnostics.virtual_text = false -O.python.diagnostics.signs = false -O.python.diagnostics.underline = false - - diff --git a/nv-settings.lua b/nv-settings.lua new file mode 100644 index 00000000..03e6c99f --- /dev/null +++ b/nv-settings.lua @@ -0,0 +1,21 @@ +--[[ +O is the global options object + +Formatters and linters should be +filled in as strings with either +a global executable or a path to +an executable +]] + + +O.auto_complete = false +O.colorscheme = 'nvcode' + +O.python.formatter = 'yapf' +O.python.linter = nil +O.python.autoformat = false +O.python.diagnostics.virtual_text = false +O.python.diagnostics.signs = false +O.python.diagnostics.underline = false + + -- cgit v1.2.3