From 56798ec142a34fdcf090612de9ecbd07052f29b3 Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 27 Mar 2021 17:21:52 -0400 Subject: added more user options --- nv-settings.lua | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'nv-settings.lua') 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 -- cgit v1.2.3