diff options
author | Chris <[email protected]> | 2021-03-28 03:52:09 -0400 |
---|---|---|
committer | Chris <[email protected]> | 2021-03-28 03:52:09 -0400 |
commit | edc640c50fe3d8f1378576c2bdb14b5c6e8140d5 (patch) | |
tree | 4ecff6c97a9ddba8d6908683a6fe42b078f8b5a0 /nv-settings.lua | |
parent | 6e65c34e280b1e7428d3c753088b9569f4a65e57 (diff) |
new settings options for autoformat
Diffstat (limited to 'nv-settings.lua')
-rw-r--r-- | nv-settings.lua | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/nv-settings.lua b/nv-settings.lua index ad17272f..a77e25c0 100644 --- a/nv-settings.lua +++ b/nv-settings.lua @@ -5,15 +5,11 @@ Formatters and linters should be filled in as strings with either a global executable or a path to an executable -]] - - --- general +]] -- general O.auto_complete = true O.colorscheme = 'nvcode' O.auto_close_tree = 0 - -- python -- add things like O.python.formatter.yapf.exec_path -- add things like O.python.linter.flake8.exec_path @@ -21,15 +17,20 @@ O.auto_close_tree = 0 O.python.formatter = 'yapf' O.python.linter = 'flake8' O.python.isort = true -O.python.autoformat = false +O.python.autoformat = true O.python.diagnostics.virtual_text = true O.python.diagnostics.signs = true O.python.diagnostics.underline = true -- lua O.lua.formatter = 'lua-format' +-- O.lua.formatter = 'lua-format' +O.lua.autoformat = true -- javascript O.tsserver.formatter = 'prettier' O.tsserver.linter = nil -O.tsserver.autoformat = false +O.tsserver.autoformat = true + +-- json +O.json.autoformat = true |