diff options
Diffstat (limited to '.config/nvim/language-settings.lua')
-rw-r--r-- | .config/nvim/language-settings.lua | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.config/nvim/language-settings.lua b/.config/nvim/language-settings.lua new file mode 100644 index 0000000..36a5d05 --- /dev/null +++ b/.config/nvim/language-settings.lua @@ -0,0 +1,30 @@ +-- general +O.auto_complete = true +O.colorscheme = 'lunar' +O.auto_close_tree = 0 +O.wrap_lines = false + +O.clang.diagnostics.virtual_text = false +O.clang.diagnostics.signs = false +O.clang.diagnostics.underline = false + +-- python +O.python.formatter = 'black' +O.python.linter = 'flake8' +O.python.isort = true +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.autoformat = false + +-- javascript +O.tsserver.formatter = 'prettier' +O.tsserver.linter = nil +O.tsserver.autoformat = true + +-- json +O.json.autoformat = true |